dotnet / dotnet/cli-lab

Unable to uninstall lower SDK patches

Open
#216 3 comments 0 reactions 0 assignees View on GitHub
Area-Uninstall-Tool question
Dominant language
C#
Stars
774
Forks
72
Avg merge
1d 23h
Merged PRs (30d)
2

Description

I need to remove all older .NET Core SDK patches.
Currently, I have the following SDKs installed `dotnet-core-uninstall list --sdk`
.NET Core SDKs:
5.0.403 x64 [Used by Visual Studio. Specify individually or use --force to remove]
5.0.303 x64
3.1.415 x64
3.1.120 x64

When launching the command `dotnet-core-uninstall dry-run --all-lower-patches --sdk` nothing is displayed.
The expected output should be:
*** DRY RUN OUTPUT
Specified versions:
Microsoft .NET SDK 5.0.303 (x64)
Microsoft .NET Core SDK 3.1.120 (x64)
*** END DRY RUN OUTPUT

However, when launching the command `dotnet-core-uninstall dry-run --all --sdk` all SDK versions are listed in the output.
*** DRY RUN OUTPUT
Specified versions:
Microsoft .NET SDK 5.0.303 (x64)
Microsoft .NET Core SDK 3.1.415 (x64)
Microsoft .NET Core SDK 3.1.120 (x64)
*** END DRY RUN OUTPUT

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.