码迷,mamicode.com
首页 > Web开发 > 详细

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

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

标签:ble   core   standard   ann   gets   for   work   time   his   

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,而是类库

标签:ble   core   standard   ann   gets   for   work   time   his   

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

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!