Skip to content
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

dotnet-ef 8.0.1 fails to work on .NET 8.0.0 #38334

Closed
tmds opened this issue Jan 29, 2024 · 4 comments
Closed

dotnet-ef 8.0.1 fails to work on .NET 8.0.0 #38334

tmds opened this issue Jan 29, 2024 · 4 comments
Labels
Area-Tools untriaged Request triage from a team member

Comments

@tmds
Copy link
Member

tmds commented Jan 29, 2024

The dotnet-ef package that is published for 8.0.1 requires the runtime version to be at least 8.0.1.

On some environments, like distros where .NET is source-built, it may take some days(/weeks) for that runtime version to become available.

This makes the dotnet install -g dotnet-ef command work, but subsequently invoking dotnet ef fail (due to the runtime version). The user can work around by explicitly specify the older version that matches the runtime version.

Could we relax the required runtime version for the global tools that are shipped in tandem with .NET through NuGet to not depend on a particular patch version?

cc @baronfel @richlander

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-CLI untriaged Request triage from a team member labels Jan 29, 2024
@baronfel
Copy link
Member

cc @ajcvickers this has come up a few times since the 8.0.1 release (see #38114 for another instance).

This is possibly something we could detect at tool-install time now too, now that we are no longer using the implicit NuGet Restore to acquire tools.

@ajcvickers
Copy link
Contributor

@baronfel This looks like dotnet/efcore#32869, which is already approved for 8.0.3.

@tmds
Copy link
Member Author

tmds commented Jan 29, 2024

Great! I'll close this then.

@tmds tmds closed this as completed Jan 29, 2024
@baronfel
Copy link
Member

Thanks for the quick update @ajcvickers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Tools untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

3 participants