vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

C# Extension does not work in alpine container

Open Torkolis opened this issue 3 years ago • 1 comments

Hi I am currently trying to get C# Extension with intellisense to get working in a container with this image: mcr.microsoft.com/dotnet/sdk:6.0-alpine

I can't even do the CSharp: Report an issue because it shows me this error: image So I will try to fill out myself

Environment data

dotnet --info output:

.NET SDK (reflecting any global.json): Version: 6.0.400 Commit: 7771abd614

Runtime Environment: OS Name: alpine OS Version: 3.16 OS Platform: Linux RID: alpine.3.16-x64 Base Path: /usr/share/dotnet/sdk/6.0.400/

global.json file: /home/dotnet/dotnet/FirstProject/global.json

Host: Version: 6.0.8 Architecture: x64 Commit: 55fb7ef977

.NET SDKs installed: 6.0.400 [/usr/share/dotnet/sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 6.0.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET: https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs: https://aka.ms/dotnet/runtimes-sdk-info

VS Code version: 1.71.0 C# Extension version: 1.25.0

C# log

[ERROR]: C# Extension failed to get platform information.

Torkolis avatar Sep 08 '22 09:09 Torkolis

This seems similar to what I've experienced. https://github.com/OmniSharp/omnisharp-vscode/issues/5348

Zeddicus414 avatar Oct 10 '22 12:10 Zeddicus414