-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Remove dotnet-ef from the .NET Core 3.0 SDK #14016
Comments
@KathleenDollard can you keep us in the loop regarding any future plans for global tools that extend |
Blocked on syncing with the CLI team about the future of tools.
cc @wli3 |
Yes. You can add a tool manifest file in the template. We plan to bring back invoke by dotnet TOOLNAME https://github.com/dotnet/cli/pulls . As of today, the user need to run dotnet tool run TOOLNAME. And the user need an extra dotnet tool restore. But this is might change.
We don't have plan to remove the extension. @KathleenDollard may have more thinking |
Thanks, @wli3! |
Hey cool, because of the code already in the CLI for source build, it looks like users will get this error when they try to run:
|
@bricelam any chance we can create an entry in the breaking change page for this today in preparation for the preview 4 announcement? |
Even after manually installation of dotnet-ef tool it is not available. Installation was executed successfully with message:
|
Note, during pre-release, you'll need to specify the version:
|
After lot of research and findings , i delete the already installed dotnet-ef (C:\Users\khurram.dotnet...) and install by using dotnet tool install --global dotnet-ef --version 3.0.0-* and it worked for me. |
How do I use dotnet-ef in automated Devops -> Azure App deployments now? My build step is throwing this error:
I tried to install dotnet-ef via Kudu Debug Console and got the following sequence:
And, as predicted, if I try to use it:
All the tutorials on the internet that I could find about how to do this are now out of date because they assume that dotnet-ef ships with dotnet, and I can't locate any official Microsoft documentation about how to deploy EF Core Migrations as part of an automated Devops deployment. |
The EF Core runtime isn't a part of the SDK anymore. It makes sense for
dotnet ef
to become just a plain old global tool too on NuGet.The text was updated successfully, but these errors were encountered: