Add migration with different assembly

后端 未结 14 1158
感情败类
感情败类 2020-12-02 14:25

I am working on a project with ASP.NET CORE 1.0.0 and I am using EntityFrameworkCore. I have separate assemblies and my project structure looks like this:

Pr         


        
14条回答
  •  有刺的猬
    2020-12-02 14:33

    For all of you who have multiple startup projects.

    Notice that you need to set your target project as startup project - Project.Api(form the question example) should be the startup project.

    Hope that will help someone :)

提交回复
热议问题