Just upgraded to Entity Framework 6 to take a look. I\'m using MVC4.
But i recieve this message when trying to make a controller from a model and context.
Thought this could use some expanding :) As mentioned above ASP.NET MVC 4 scaffolding does not support EF6 or higher. This means that an older EF, compatible with MVC 4 will have to be installed. To do this:
In the Package Manager Console, uninstall the current EF package by executing the following command:
UnInstall-Package EntityFramework -Version
*Where
is the version number of the EF currently installed.
*NOTE: to find out what EF version is installed, run the following command in the Package Manager Console:
Get-Package EntityFramework
To avoid potential metadata problems the providers entry in the Web.config file will need to be removed:
Delete the following lines:
Now, in the Package Manager Console Execute the following command to install Entity Framework 5.0.0:
Install-Package EntityFramework -Version 5.0.0