dotnet tool update -g --all
command fails when a prerelease version of the tool is installed in-between
#46542
Labels
Describe the bug
I have a list of dotnet tools installed on my machine, consisting of both stable and prerelease versions (some of them don't have a stable version yet).
dotnet tool update -g --all
command fails when a prerelease version of the tool is installed.There should be a state that indicates a tool is in prerelease. While updating with the
--all
parameter, the update should process following that state or skip those tools altogether when the--prerelease
flag is not indicated.Indicating --prerelease is a risky option as not all tools needs to moved to unstable version.
But now it fails in-between. Inconsistent behavior.
To Reproduce
Install a stable and prerelease version (especially the one that has no stable release so far) of the tools together and try to updated with the below command.
Exceptions (if any)
So and so tool not found in the configured NuGet feeds.
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: