dotnet / dotnet/vscode-dotnet-runtime

No pre-reqs on macOS

Open
#1,501 1 comment 1 reaction 1 assignee Claimed by @nagilson View on GitHub
enhancement P3
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

Saw this error.

```bash
Starting Spawn .NET server...
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Using local .NET runtime at "/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/dotnet"
Using runtime installed in SDK.
.NET server STDERR: Failed to load /Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib, error: dlopen(/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib, 0x0001): tried: '/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib' (code signature in <6F6D3D7A-7260-3671-9CA8-33B00B9431E6> '/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/System/Volumes/Preboot/Cryptexes/OS/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib' (no such file), '/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib' (code signature in <6F6D3D7A-7260-3671-9CA8-33B00B9431E6> '/Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)
The library libhostfxr.dylib was found, but loading it from /Users/rich/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.13~arm64/host/fxr/7.0.13/libhostfxr.dylib failed
- Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=2063366

.NET server exited with 130
```

.NET doesn't have any pre-reqs on macOS, so this customer guidance is mis-leading. Linux is the only (supported) OS with pre-reqs.

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.