dotnet / dotnet/vscode-dotnet-runtime

[NETE2ESDK] Only the latest version should be remain in Uninstall .NET list after the older runtimes are removed by Update of Installs

Open
#2,792 1 comment 0 reactions 0 assignees View on GitHub
untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

The uninstalled runtimes still show in Uninstall .NET list after update installs.

### Please attach log file(s) here if you have any.

[logs 1.zip](https://github.com/user-attachments/files/32187642/logs.1.zip)

### Reproduction Steps

1. Run `Sample: Acquire .NET Runtime` or `Sample: Acquire ASPNET Runtime` command to acquire various released versions of the runtime or aspnet runtime e.g 10.0.1,10.0.2 or 9.0.11, 9.0.12
2. Restart VSCode
3. Run `Sample: Force update of .NET runtime` or wait 'runtimeUpdateDelaySeconds' for 5 minutes
4. Older runtimes should be uninstalled
5. Run `.NET Install Tool: Uninstall .NET`, observer uninstalled list

### Expected Behavior

The uninstalled runtimes don't show in Uninstall .NET list

### Exceptions & Errors (if any)

The uninstalled runtimes still show in Uninstall .NET list

Image

### .NET Install Tool Version

3.1.1

### Your operating system? Please provide more detail, such as the version and or distro above.

N/A

### VS Code Version

1.137

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the “Sample: Acquire .NET Runtime” or “Sample: Acquire ASPNET Runtime” command, then run “Sample: Force update of .NET runtime” and open “.NET Install Tool: Uninstall .NET.” Trace how the uninstall list is populated after older runtimes are removed. Done means the list contains only currently installed runtimes, including after restarting VS Code.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.