c# – dotnet exec在添加Entity Framework Core(1.1.0)迁移时需
发布时间:2020-12-15 23:36:47 所属栏目:百科 来源:网络整理
导读:错误信息: PM Add-Migration InitialDatabasedotnet exec needs a managed .dll or .exe extension. The application specified was 'C:Usersxxxxxxdocumentsvisual studio 2017ProjectsTheWorldsrcTheWorldbinDebugnetcoreapp1.0TheWorld.runt
错误信息:
PM> Add-Migration InitialDatabase dotnet exec needs a managed .dll or .exe extension. The application specified was 'C:Usersxxxxxxdocumentsvisual studio 2017ProjectsTheWorldsrcTheWorldbinDebugnetcoreapp1.0TheWorld.runtimeconfig.json' Process finished with non-zero exit code PM> Visual Studio版本:2017 RC 项目依赖性: 错误截图: 解决方法
我有同样的问题.我唯一要做的就是在Project属性中更改Target Framework.
Changing the framework version 我希望这有帮助. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |