dotnet / vscode-dotnet-runtime

VSCode Extension for Installing .NET via VS Code
MIT License
127 stars 230 forks source link

Uninstall runtimes/SDK that are out of support or no longer in use by other extensions #1823

Open baronfel opened 3 weeks ago

baronfel commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Without any kind of change, this extension will install many copies of the .NET Runtime as various extensions request them. In addition, leaving older runtimes around on the system can present a security risk as newer versions of the runtime come with security fixes.

A clear and concise description of what you want to happen. Include any alternative solutions you've considered.

SDKs and Runtimes that this extension manages that are not in direct use anymore or are out-of-support and have an in-support version already installed, this extension should allow the user to clean up those older versions.

Describe the solution you'd like

A command should be made available to remove out of support or unused SDKs/Runtimes.

Additional context

No response