MVC scaffolding does not support Entity Framework 6

asp.net-mvc entity-framework-6

Question

Using Entity Framework, I'm attempting to add a controller with read/write actions and views.

However, VS2012 informs me that "MVC scaffolding does not support Entity Framework 6 or later" when I attempt to do so. I tried to remove EntityFramework 6 and install 5 in Nuget Manager Console after reading http://support.microsoft.com/kb/2816241:

PM> Uninstall-package EntityFramework -force Removing 'EntityFramework 6.0.2' from OnlinebookingAdministrator. Successfully removed 'EntityFramework 6.0.2' from OnlinebookingAdministrator. Uninstalling 'EntityFramework 6.0.2'. Successfully uninstalled 'EntityFramework 6.0.2'.

PM> Install-Package EntityFramework -version 5.0.0 'EntityFramework 5.0.0' already installed. Adding 'EntityFramework 5.0.0' to OnlinebookingAdministrator. Successfully added 'EntityFramework 5.0.0' to OnlinebookingAdministrator.

But every time I try to add the controller, the issue continues coming up. Is there a remedy for this?

1
7
3/11/2014 4:09:33 PM

Accepted Answer

ZZZ_tmp
29
11/26/2014 2:36:23 PM

Popular Answer

ZZZ_tmp


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow