Skip to content

MacOS: "Error acquiring .NET!" #251381

Closed
Closed
@michiel-j

Description

@michiel-j

With the new version 1.101.0, VS Code tries to install .NET. Given the output below, I assume this has to do with the docsmsft.docs-preview extension.

Output mentions the following:

Could not find the architecture of the dotnet host dotnet. If this host does not match the architecture arm64:
Please set the PATH to a dotnet host that matches the architecture arm64. An incorrect architecture will cause instability for the extension docsmsft.docs-preview.

docsmsft.docs-preview requested to download the .NET SDK.
Downloading .NET version(s) 8.0.411-global~arm64 ........ Done!
.NET 8.0.411-global~arm64 executable path: /usr/local/share/dotnet/dotnet

Error : (DotnetAcquisitionFinalError)

Error : (DotnetGlobalSDKAcquisitionError)

Type: Bug

Apple MacBook Pro M1, MacOS 15.5

Version: 1.101.0
Commit: dfaf441
Date: 2025-06-11T15:00:50.123Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.5.0

VS Code version: Code 1.101.0 (dfaf441, 2025-06-11T15:00:50.123Z)
OS version: Darwin arm64 24.5.0
Modes:
Remote OS version: Linux x64 5.4.0-215-generic

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
5b33h341:31326279
pythonpulldiag:31325930
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004
d2249276:31327029

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions