dotnet / dotnet/vscode-dotnet-runtime

It seems that .NET Install Tool for linux has a problem

Open
#2,099 1 comment 0 reactions 0 assignees View on GitHub
needs more info
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

Recently, when I tried to install the C# extension in my Debian container, it hung forever. I tried to download the C# extension manually and it was OK. Then I tried to download .NET Install Tools manually, and I got to this URL:

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-dotnettools/vsextensions/vscode-dotnet-runtime/2.2.5/vspackage?targetPlatform=linux-x64

And the response is:

```
{
$id: "1",
innerException: null,
message: "Version 2.2.5 for extension ms-dotnettools.vscode-dotnet-runtime has no support for targetPlatform linux-x64",
typeName: "Microsoft.VisualStudio.Services.Gallery.WebApi.ExtensionVersionHasNoSupportForRequestedTargetPlatformsException, Microsoft.VisualStudio.Services.Gallery.WebApi",
typeKey: "ExtensionVersionHasNoSupportForRequestedTargetPlatformsException",
errorCode: 0,
eventId: 3000
}
```

What should I do? I can't debug my C# applications inside Debian containers for some days now.

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

There is no `~/.config` directory on my Debian container

### Reproduction Steps

1. Create a Debian container using `mcr.microsoft.com/vscode/devcontainers/dotnet:9.0-bookworm-slim` image
2. Use DevContainers extension to attach to it for debugging purposes
3. Manually install .NET Install Tools
4. It should hang

### Expected Behavior

The installation of extensions should be smooth. We should be able to set up our debugging environment quickly without frictions with the VS Code extensions.

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

v2.2.5

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

Linux

### VS Code Version

1.96.4

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.