dotnet / dotnet/vscode-dotnet-runtime

Error loading .Net.

Open
#544 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.

**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: C:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.5.0\dist\install scripts\dotnet-install.ps1 :
Exception calling "ExtractToFile" with "3" argument(s): "Could not find file 'C:\Users\anonymous\AppData\Roaming\Code\User\
globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.6\dotnet.exe'."
At line:1 char:136
+ ... e]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [dotnet-install.ps1], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException,dotnet-install.ps1

**Error Stack:** Error: .NET Acquisition Failed: Installation failed: C:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.5.0\dist\install scripts\dotnet-install.ps1 :
Exception calling "ExtractToFile" with "3" argument(s): "Could not find file 'C:\Users\anonymous\AppData\Roaming\Code\User\
globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\6.0.6\dotnet.exe'."
At line:1 char:136
+ ... e]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [dotnet-install.ps1], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException,dotnet-install.ps1

at c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.5.0\dist\extension.js:2:13750
at processTicksAndRejections (node:internal/process/task_queues:96:5)

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.