I often want to use migrations after cloning a GitHub repo or downloading a VS solution in some other way. To do this I have to figure out which project is the startup, which project contains migrations, and possibly other settings. Instead I want that information to be carried with the VS solution. This would allow me to run, for example, dotnet ef migrations add One at the solution level and have it use the appropriate projects and other settings.
This could be done in one of several ways:
- A config file at the solution level that EF reads
- Support for generating and using "response files" automatically
- Support for generating and using a well-known script automatically
This will also require documentation to promote this as a well-known pattern that becomes commonly used.
I often want to use migrations after cloning a GitHub repo or downloading a VS solution in some other way. To do this I have to figure out which project is the startup, which project contains migrations, and possibly other settings. Instead I want that information to be carried with the VS solution. This would allow me to run, for example,
dotnet ef migrations add Oneat the solution level and have it use the appropriate projects and other settings.This could be done in one of several ways:
This will also require documentation to promote this as a well-known pattern that becomes commonly used.