You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install any global dotnet tool. For example: dotnet tool install csharprepl -g
Immediately perform full global tools update: dotnet tool update -g --all
Observe that the CLI prints a message with an empty package ID in it
Exceptions (if any)
Not applicable
Analysis
This is caused by a new optimization where up-to-date packages are no longer reinstalled, introduced by 4a4823d. The newly added message is formatted with the package ID supplied in the command line, which would be null if --all is supplied.
Further technical details
Include the output of dotnet --info
This is locally produced build from main branch.
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22635
OS Platform: Windows
RID: win-x64
Base Path: E:\dotnet-sdk\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
[aspire]
Installation Source: VS 17.11.35222.181, VS 17.12.35209.166
Manifest Version: 8.0.1/8.0.100
Manifest Path: E:\dotnet-sdk\artifacts\bin\redist\Debug\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.0.1\WorkloadManifest.json
Install Type: FileBased
Describe the bug
When running
dotnet tool update -g --all
and some packages are already up to date, the message prints an empty ID.This is a follow-up issue blocked by #42598. That issue must be addressed before the problematic code path for this issue can be reached.
To Reproduce
(Assuming #42598 already fixed)
dotnet tool install csharprepl -g
dotnet tool update -g --all
Exceptions (if any)
Not applicable
Analysis
This is caused by a new optimization where up-to-date packages are no longer reinstalled, introduced by 4a4823d. The newly added message is formatted with the package ID supplied in the command line, which would be null if
--all
is supplied.Further technical details
dotnet --info
This is locally produced build from main branch.
CLI is capable of reproduction, no IDE required.
The text was updated successfully, but these errors were encountered: