dotnet / dotnet/vscode-dotnet-runtime

.NET SDK (9.0.201) error installing on Windows 11 for VS Code

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

Description

### Describe the bug.

Just using the blue "Install .NET SDK (9.0.201)" button in the VS Code interface

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

The log file location should be copied to

Please attach the log file located at c:\Users\mattp\AppData\Roaming\Code\logs\20250306T151922\window1\exthost\ms-dotnettools.vscode-dotnet-runtime\DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1741884913298.txt. Note that this file may contain personal data.

**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: {"isError":true,"error":{"eventType":"DotnetNonZeroInstallerExitCodeError"},"install":{"installId":"9.0.201-global~x64","version":"9.0.201","architecture":"x64","isGlobal":true,"installMode":"sdk"},"type":5,"eventName":"DotnetNonZeroInstallerExitCodeError"}
**Error Stack:** Error: .NET Acquisition Failed: {"isError":true,"error":{"eventType":"DotnetNonZeroInstallerExitCodeError"},"install":{"installId":"9.0.201-global~x64","version":"9.0.201","architecture":"x64","isGlobal":true,"installMode":"sdk"},"type":5,"eventName":"DotnetNonZeroInstallerExitCodeError"}
at b.getErrorOrStringAsEventError (c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-2.2.8\dist\extension.js:2:44584)
at b. (c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-2.2.8\dist\extension.js:2:40504)
at Generator.next ()
at s (c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-2.2.8\dist\extension.js:2:35279) your clipboard if you came from VS Code.

### Reproduction Steps

Just using the blue "Install .NET SDK (9.0.201)" button in the VS Code interface

### Expected Behavior

Installation without error

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

9.0.201

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

N/A

### VS Code Version

Version: 1.97.0 (user setup) Commit: 33fc5a94a3f99ebe7087e8fe79fbe1d37a251016 Date: 2025-02-04T22:41:26.688Z Electron: 32.2.7 ElectronBuildId: 10660205 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.26100

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.