This version of the Entity Framework Core Package Manager Console Tools doesn't support these types of projects

后端 未结 3 853
一向
一向 2021-01-20 12:46

After updating an existing project to ASP.NET Core 1.1 and Entity Framework Core 1.1 using this tutorial
I tried to execute \"Add-Migration MigrationName\" in Package Ma

3条回答
  •  天涯浪人
    2021-01-20 13:28

    I believe the commads are different in .NET Core and EF Core.

    Try

    dotnet ef migrations add MigrationName
    

    and

    dotnet ef database update
    

    Here are the dotnet cli commands

提交回复
热议问题