dotnet / dotnet/vscode-dotnet-runtime

Clean up old .NET runtimes

Open
#2,223 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

* already have 'dotnet' installed in "/usr/local/share/dotnet/dotnet"
* already have 2 version of SDK in that location

depending on ... ... could be the weather, could be something else, **ms-dotnettools.csdevkit** tries or does not try to load a new version of dotnet ... ... quantum computing I guess.

```
ms-dotnettools.csdevkit requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 9.0.3~arm64~aspnetcore ..........
Error : (DotnetAcquisitionFinalError)
```

**NOTE**: The fact that disks are ever growing should not be misconstrued for a free license for MS/whomever to fill them up with an ever growing number of dotnet runtimes disseminated all over the place.

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

```
Using configured .NET path: /usr/local/share/dotnet/dotnet
ms-dotnettools.csdevkit requested to download the .NET ASP.NET Runtime.
Downloading .NET version(s) 9.0.3~arm64~aspnetcore ..........
... MORE HERE...
Installation source: https://builds.dotnet.microsoft.com/dotnet/aspnetcore/Runtime/9.0.3/aspnetcore-runtime-9.0.3-osx-arm64.tar.gz.
Installation location: /Users/laurent/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/9.0.3~arm64~aspnetcore.
Report the bug at https://github.com/dotnet/install-scripts/issues.
dotnet_install: Error: `ASP.NET Core Runtime` with version = 9.0.3 failed to install with an error.
```

### Reproduction Steps

* "developer: reload window"

sometimes there is an error ... sometimes there is not .. go figure

### Expected Behavior

I DONT WANT YET ANOTHER Runtime/SDK ....

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

2.3.1 2025-04-08, 06:13:51

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

macos

### VS Code Version

1.97.2 universal

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.