dotnet / dotnet/vscode-dotnet-runtime
Remove Version Adjacent Older SDKs from Tracking List when Newer SDK Version in Same Feature Band / Major Minor is Installed
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
The older .NET SDK info is still shown in the Uninstall .NET list after installing the new version .NET SDK.
### Please attach log file(s) here if you have any.
[logs.zip](https://github.com/user-attachments/files/19202031/logs.zip)
### Reproduction Steps
1. On windows, run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘. or the command: .NET Install Tool - Install the .NET SDK System-Wide.
2. Enter a version like 8.0.406 to install .NET SDK 8.0.406
3. Upgrading to a new version like 8.0.407 with the same command
4. run the ‘.NET Install Tool: Uninstall .NET’ command to observe the installed SDKs
### Expected Behavior
Because the newer SDK with replaced the older on Windows, the older SDK info should not be shown in Uninstall .NET list.
### Exceptions & Errors (if any)
The older .NET SDK info is still shown in the Uninstall .NET list after installing the new version .NET SDK.

### .NET Install Tool Version
v2.2.9-b
### Your operating system? Please provide more detail, such as the version and or distro above.
Windows
### VS Code Version
1.98.0
Contributor guide
Assessment
This issue has not been assessed yet.