EF Core Error - No project was found. Change the current working directory or use the --project option

前端 未结 6 1983
萌比男神i
萌比男神i 2020-12-28 13:28

I am using Visual Studio 2015 and dotnet core and trying to develop an EF Core Code First project using Sqlite and this documentation / tut

6条回答
  •  醉梦人生
    2020-12-28 14:14

    sometimes you need to change the current directory in console/terminal eg:

    PM> cd E:\Projects\CrossTest\
    PM> dotnet ef migrations add InitialMigration
    

    and Align your package versions. Either use preview1 packages or preview2. Mix of those are not supported.

提交回复
热议问题