-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
U.I. to create migrations bundles #1078
Comments
/cc @bricelam |
@dotnet/efteam Your chance to have input on the U.I. |
Not sure mentioning the team here works. So /cc @bricelam @roji @AndriySvyryd @maumar @smitpatel @JeremyLikness |
How do you get a SQL script today? I'd put it next to that. |
@bricelam I only expect the user to reference .Design - but it looks like a lot of logic for this is in the ef tool, and I guess I have to duplicate all that - or am I looking in the wrong place? |
Hmm... You're right, most of the logic for generating and building the bundle is in ef.exe (actually a .dll on .NET 6). You could consider shipping that dll as part of the power tools. It's included in both the EFCore.Tools and dotnet-ef NuGet packages. Or it might be easier just to re-implement. It basically generates two files--Program.cs and efbundle.csproj--and runs There's also a tiny bit of logic in the PMC command to match the target framework of the startup project that might be interesting. |
Will not do this due to too much code copy and just 1 upvote |
Would be nice to have a gesture in VS to create a bundle. :-)
The text was updated successfully, but these errors were encountered: