首页 > Web开发 > 详细

在Add-Migration时出现类似错误时,看看默认启动项目是不是不是web,而是类库

时间:2020-01-13 20:06:33      阅读:423      评论:0      收藏:0      [点我收藏+]

Startup project ‘XXXXXXXX‘ targets framework ‘.NETStandard‘. There is no runtime associated with this framework, and projects targeting it cannot be executed directly. To use the Entity Framework Core Package Manager Console Tools with this project, add an executable project targeting .NET Framework or .NET Core that references this project, and set it as the startup project; or, update this project to cross-target .NET Framework or .NET Core. For more information on using the EF Core Tools with .NET Standard projects, see https://go.microsoft.com/fwlink/?linkid=2034705

在Add-Migration时出现类似错误时,看看默认启动项目是不是不是web,而是类库

在Add-Migration时出现类似错误时,看看默认启动项目是不是不是web,而是类库

原文:https://www.cnblogs.com/duoe/p/12188657.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!