I’m using .Net7 and trying to run this command from the post-build event of the last project in the solution
dotnet ef migrations add <somename> --project DataLayer --startup-project StartProj
Howevenr I’m getting “project not found”.
How can I create a migration after a successfull build?