dotnet / dotnet/vscode-dotnet-runtime

Error Acquiring .NET in WSL2 installation of vscode after C# Dev Kit installation

Open
#938 0 comments 0 reactions 0 assignees View on GitHub
not-enough-detail
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

**Repro steps:**

1. Install C# DevKit Extension and allow it to update the C# extension to Pre-Release
2. Reload and see the error
3. Change C# back to release version
4. Error goes away, but C# DevKit won't run

Note vscode is running in WSL: Ubuntu-22.04
Note that we are running with a large monitor (49"@3840x1080) in a dual monitor setup, which may be related to the error message.

**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: your 131072x1 screen size is bogus. expect trouble

**Error Stack:** Error: .NET Acquisition Failed: Installation failed: your 131072x1 screen size is bogus. expect trouble
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1686789025462.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/11751589/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1686789025462.txt)

at /home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-1.6.0/dist/extension.js:2:4766
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1686789025462.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/11751586/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1686789025462.txt)

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.