dotnet / dotnet/vscode-dotnet-runtime
[NETE2ESDK][Linux] Dotnet Host is Not Uninstalled When Uninstalling All SDKs
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
After uninstalling .NET SDK in Vscode, running command ‘sudo apt --installed list | grep "dotnet" ’ in terminal displays incorrectly.
### Please attach log file(s) here if you have any.
[logs.zip](https://github.com/user-attachments/files/19360572/logs.zip)
### Reproduction Steps
1. On Ubuntu24.04/Ubuntu22.04, run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘, enter the version 8.0.114, Hit enter.
2. After the .NET SDK is installed successfully, try to run '.NET Install Tool: Uninstall .NET' to uninstall the SDK
3. Check dotnet --info; sudo apt --installed list | grep "dotnet" and the Uninstall .NET list to ensure uninstall successfully
### Expected Behavior
8.0.114 SDK will not be shown in any of the command: dotnet --info; sudo apt --installed list | grep "dotnet" and the Uninstall .NET list
### Exceptions & Errors (if any)
8.0.114 SDK still present in command: sudo apt --installed list | grep "dotnet"

‘dotnet --info’ also displays incorrectly.

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