Skip to content

dotnet tool install did not install the latest version #45370

Open
@HavenDV

Description

@HavenDV

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions