dotnet / dotnet/vscode-dotnet-runtime
Always installs x64 binaries instead of arm64 for macOS on Apple Silicon
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
# Describe the bug
I am using the Apple Silicon version of VSCode on macOS. It always installs x64 dotnet binaries
## **Please attach log file(s) here if you have any:**
Extension log:
[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1692450046294.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/12385914/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1692450046294.txt)
Dotnet info:
[dotnetinfo.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/12385926/dotnetinfo.txt)
**Reproduction Steps**
- Install C# devkit
- Open C# project
- After dotnet is installed go to `~/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/` and whichever version, dotnet --info see it is x64
**Expected behavior**
It installs the arm64 binary of .dotnet.
**Further technical details**
- Your VSCode Version
1.81.1
- The version of the extension that's on your machine
v1.7.0
- Your operating system details
macOS 13.5
**Other Notes**
All the other C# extensions install as the darwin-arm64 version (has the suffix).
As a workaround I had been symlinking a local install of .dotnet which has the arm64 binaries. I only installed them for this. But adhoc solution is fragile.
Contributor guide
Assessment
This issue has not been assessed yet.