我已经升级了Visual Studio 2015 Update 3,其中一个项目在使用ASP.Net Core,但仅用于前端JS和CSS,使用gulp等工具。我刚试图在该项目上运行迁移,并获得以下结果:
Update-Database is obsolete. Use Apply-Migration instead.
Using project 'ProjectName'
Build started...
Build succeeded.
Using start-up project 'MyProject'.
Using application base 'pathlocation'.
Using application configuration 'pathlocation'\Web.config'
Using data directory ''pathlocation'\App_Data'
Using assembly 'My.dll'.
Exception calling "CreateInstanceAndUnwrap" with "8" argument(s): "Could not load file or assembly 'EntityFramework.Commands' or one of its dependencies. The system cannot find the file specified."
我发现我没有升级到 EF 7,我已经在项目中卸载并重新安装了 EF 6。有什么建议吗?