dotnet / dotnet/vscode-dotnet-runtime
[NETE2ESDK] Empty runtime folders are still present after uninstalling the runtimes
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
Empty runtime folders are still present after uninstalling the runtimes
### Please attach log file(s) here if you have any.
The log file location should be copied to your clipboard if you came from VS Code.
[Bug2267.zip](https://github.com/user-attachments/files/20098947/Bug2267.zip)
### Reproduction Steps
1. Run the 'Sample: Acquire .NET runtime' command and enter the runtime version or Run the `Sample: Concurrently acquire all 2.X .NET Core runtimes' command.
2. Run the ‘.NET Install Tool: Uninstall .NET’ command to uninstall the runtime. In output, it show a message of uninstallation success.
3. Go to the runtime installation path 'c:\Users\{ USERNAME }\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.sample-extension\.dotnet\' and observe
### Expected Behavior
The runtime is uninstalled succeed and the related files are deleted.
### Exceptions & Errors (if any)
The runtime folder is still present even it is empty.

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