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

后端 未结 15 894
天涯浪人
天涯浪人 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:30

    Please make sure You have installed below packages. I was also getting same error and Installed below packages and it worked for me.

    Microsoft.EntityFrameworkCore.SqlServer
    Microsoft.EntityFrameworkCore.Design
    Microsoft.EntityFrameworkCore.Tools
    

提交回复
热议问题