Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 10, 2012 01:07 AM by cbae
0 Points
8 Posts
Apr 17, 2012 04:55 AM|LINK
Hi all,
Microsoft has responded to the Connect thread I have opened. Basically, MVC 4 Beta is only compatible with EF 4.1 but they have fixed it for the next version.
Here's the connect link:
https://connect.microsoft.com/VisualStudio/feedback/details/736969/mvc-4-ef-4-3-1-spa-cannot-add-a-new-controller
Thank you all for your help,
Sagy
Member
2 Points
1 Post
May 08, 2012 10:39 AM|LINK
In my case I can simply comment out the inheritance, compile and add the new controller.
12 Points
9 Posts
May 10, 2012 01:07 AM|LINK
jacoswarts In my case I can simply comment out the inheritance, compile and add the new controller. // : DbDataController<Namespace.Models.ContextName> Compile Add Controller Uncomment
No worky. Still get "No model classes available."
sagy
0 Points
8 Posts
Re: Can't create new controller, "No model classes are available"
Apr 17, 2012 04:55 AM|LINK
Hi all,
Microsoft has responded to the Connect thread I have opened. Basically, MVC 4 Beta is only compatible with EF 4.1 but they have fixed it for the next version.
Here's the connect link:
https://connect.microsoft.com/VisualStudio/feedback/details/736969/mvc-4-ef-4-3-1-spa-cannot-add-a-new-controller
Thank you all for your help,
Sagy
<div id="-chrome-auto-translate-plugin-dialog" style="opacity: 1 !important; background-image: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: transparent !important; position: absolute !important; top: 0px; left: 0px; overflow-x: visible !important; overflow-y: visible !important; z-index: 999999 !important; text-align: left !important; display: none; background-position: initial initial !important; background-repeat: initial initial !important; padding: 0px !important; margin: 0px !important;">undefined</div>jacoswarts
Member
2 Points
1 Post
Re: Can't create new controller, "No model classes are available"
May 08, 2012 10:39 AM|LINK
In my case I can simply comment out the inheritance, compile and add the new controller.
cbae
Member
12 Points
9 Posts
Re: Can't create new controller, "No model classes are available"
May 10, 2012 01:07 AM|LINK
No worky. Still get "No model classes available."