Your startup project doesn't reference Microsoft.EntityFrameworkCore.Design

后端 未结 15 895
天涯浪人
天涯浪人 2021-02-01 12:51

I have 2 projects in my solution, I have a project with Entity Framework Core installed:

And in the other ASP.NET Web API project I have these packages:

15条回答
  •  感情败类
    2021-02-01 13:22

    You could solve this by using below commands

    dotnet tool install --global dotnet-ef
    dotnet add package Microsoft.EntityFrameworkCore.Design
    

提交回复
热议问题