dotnet / dotnet/vscode-dotnet-runtime

Support Password Prompt in VS CODE for WSL

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

Description

### Describe the bug.

I tried installing the C# Dev Extension for VS Code. It wanted me to sign in and install .NET, but when I tried, this is all I get everytime.
"An error occurred while installing .NET: .NET Acquisition Failed: Automatic .NET SDK Installation is not yet supported in WSL due to VS Code & WSL limitations. Please install the .NET SDK manually by following https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu. Then, add it to the path by following https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#manually-installing-net, Error: Automatic .NET SDK Installation is not yet supported in WSL due to VS Code & WSL limitations. Please install the .NET SDK manually by following https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu. Then, add it to the path by following https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#manually-installing-net at I.next (/home/firelight7118/.vscode-server/extensions/vscode-dotnet-runtime-library/dist/Acquisition/DotnetCoreAcquisitionWorker.js:370:76) at Ge..."

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

Files included above

### Reproduction Steps

Install the C# Dev Kit Extension in VS Code.
You will be notified to install the SDK.
Install the SDK
Failure, along with the long error message.

### Expected Behavior

Install like normal. Without issues

### Exceptions & Errors (if any)

An error occurred while installing .NET: .NET Acquisition Failed: Automatic .NET SDK Installation is not yet supported in WSL due to VS Code & WSL limitations. Please install the .NET SDK manually by following https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu. Then, add it to the path by following https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#manually-installing-net, Error: Automatic .NET SDK Installation is not yet supported in WSL due to VS Code & WSL limitations. Please install the .NET SDK manually by following https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu. Then, add it to the path by following https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#manually-installing-net at I.next (/home/firelight7118/.vscode-server/extensions/vscode-dotnet-runtime-library/dist/Acquisition/DotnetCoreAcquisitionWorker.js:370:76) at Ge...

### .NET Install Tool Version

N/A

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

Linux

### VS Code Version

1.99.3

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.