The MVC scaffolding does not support Entity Framework 6 or later versions. For more information, please visit http://go.microsoft.com/fwlink/?LinkId=276833.
PS: When a new small system is made, it is encountered when the frame is started.
Look down, as we worked hard, EF has upgraded from EF5 to EF6. The NuGet package is updated directly to the latest version.
My VS2012 the highest also MVC4 so tragic incompatible.
The conclusion is MVC4+EF5 or Mvc5+ef6.
Lower the version.
The steps are as follows:
Tools-Library Package Manager-Package Management Console
See http://blog.csdn.net/sat472291519/article/details/19114921 Blog First
1. Uninstalling EF 6.1 from NuGet
2. Modify the original Statement Install-package < package name >–version < version number >
Install-package entityframework–version 5.0.0
< package name > can be viewed from NuGet Manager or viewed in Packages.config
< version number > know just fill it up don't know how many versions you need to go to the official website to choose your own application
Last updated with matching Chinese language pack
Install-package entityframework.zh-hans–version 5.0.0
The MVC scaffolding does not support Entity Framework 6 or later versions