Asp.net核心2.0数据迁移命令失败

时间:2018-04-24 05:45:54

标签: asp.net ef-core-2.0

运行迁移命令时出错。 我通过csproj文件和itemgroup进行了探索,但仍然出现错误。

附上csproj文件以供参考

csproj file

1 个答案:

答案 0 :(得分:0)

您可以按以下方式使用程序包管理器控制台或命令行工具:

    [Command Line]
    dotnet ef migrations add <name of migration>

    [Package Manager Console]
    add-migration <name of migration>
相关问题