dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.59k stars 1.95k forks source link

--startup-project is missing #4553

Open nerkn opened 7 months ago

nerkn commented 7 months ago

In given options and the example --startup-project option is missing. So command failing.

This solution got nearly 100k view for simple required option


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

biwaresrl commented 7 months ago

I was going mad because I was literally doing exactly as the documentation said but I keep getting errors. To me it also seems like an issue from the EF Core side. If I've already specified the assembly in my startup code, why should I keep specifying the migrations project AND the startup project? I should be able to execute the command on the startup project directly.