-
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
Using dotnet ef 7 tool from with net8 #32155
Comments
The tools are backwards compatible. Version 8 of dotnet-ef will work with projects targeting net7 To install a prerelease version of a tool, you need to add the |
So then this should be categorized as a bug then? |
@wallymathieu Can you run both the commands with --verbose output and post the output here? |
|
@wallymathieu Two questions:
|
dotnet-ef : The term 'dotnet-ef' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
|
@bricelam I am now seeing this on my Windows machine, using all the latest versions:
|
Looks exactly like dotnet/sdk#11820 (and dotnet/sdk#36847) |
This comment was marked as outdated.
This comment was marked as outdated.
@JL03-Yue Was there a breaking change to the command resolver? |
This comment was marked as off-topic.
This comment was marked as off-topic.
@bricelam There is a major tool change in tool acquisition in .NET 8 GA. I don't think for command resolver though. There is a similar issue that we are working on a fix |
Ask a question
In the following project I'm using ef migrations. I noticed that the commands
dotnet tool restore; dotnet ef database update
failed withIs it that I should make sure to run the net8 version of the tool? I.e. that if you want to use the previous version you need to use global.json and pin the framework to net7 if you have net8 also installed?
I've tested it on M1 Macbook Air and Windows 11 with net8 rc2 and net7 installed.
The text was updated successfully, but these errors were encountered: