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

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.

Leave a Comment