views:

54

answers:

1

I asp.net mvc my model classes won't show up in the Add View dialog, so that VS automatically can generate CRUD views for them.

I have my Model classes (Linq-to-SQL) in a separate project (but in the same solution) than my asp.net MVC project.

Only stuff from the Elmah and Autofac namespace shows up in the list!

+1  A: 

Are you create an instance of the model classes in the controller methods? They won't get seen by the VS view wizards bits unless you do.

blowdart
Well, i do :/
Carl Hörberg
Doh, i hadn't compiled the project since i'd added them..
Carl Hörberg