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 tool install did not install the latest version #45370

Open
HavenDV opened this issue Dec 8, 2024 · 1 comment
Open

dotnet tool install did not install the latest version #45370

HavenDV opened this issue Dec 8, 2024 · 1 comment
Assignees
Labels
Area-Tools untriaged Request triage from a team member

Comments

@HavenDV
Copy link

HavenDV commented Dec 8, 2024

Initial issue: #43089

The behavior of dotnet tool install --global $packagename$ --prerelease has also changed and it does not update the package to the latest version as before, I think this is related to this bug

Steps to reproduce:

  1. dotnet tool install --global autosdk.cli --version 0.27.1-dev.43
You can invoke the tool using the following command: autosdk
Tool 'autosdk.cli' (version '0.27.1-dev.43') was successfully installed.
  1. dotnet tool update autosdk.cli --global --prerelease
Tool 'autosdk.cli' is already installed.

The second step is wrong because there is a newer prerelease version here

@edvilme
Copy link
Member

edvilme commented Dec 11, 2024

Backport: #45383

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