Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nefcanto opened this issue Jan 25, 2025 · 1 comment
Open

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

Nefcanto opened this issue Jan 25, 2025 · 1 comment
Labels
needs more info Further information is requested

Comments

@Nefcanto
Copy link

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

@nagilson
Copy link
Member

C# has platform specific binaries but our extension does not so that link doesnt exist. The generic download link works for all distributions. What is the part of C# that is hangning, can you provide more info there? If you may send the log thats requested in the issue, that would also be helpful.

@nagilson nagilson added needs more info Further information is requested and removed untriaged labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants