dotnet / dotnet/sdk

When using `dotnetup sdk uninstall` to uninstall the daily SDK, the preview SDK is removed instead of the daily SDK.

Open
#54,916 1 comment 1 reaction 1 assignee Claimed by @dsplaisted View on GitHub
Area-dotnetup untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

**INSTALL STEPS**
1. Clean machine: Win11 x64 25h2 ENU
2. Install `dotnetup `tool: `iwr https://aka.ms/dotnetup/get-dotnetup.ps1 | iex`

**Repro Steps**
1. Add dotnetup to the PATH in Current session.
1. Install the latest preview release (11.0.100-preview.5) and daily build(11.0.100-preview.6) using following step:
`dotnetup sdk install preview daily`
1. Then uninstall the daily SDK build
`dotnetup sdk uninstall daily`
1. Run `dotnetup list` to check the installed SDK

**Note:**
1. This issue does not repro if I uninstall the preview build first.

**Actual Result**
If I uninstall the daily sdk build first, the 11.0.100-preview.5 SDK is removed, not the 11.0.100-preview.6 SDK.

Image

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.