dotnet / dotnet/vscode-dotnet-runtime

Support CachyOS

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

Description

Type: Bug

## Issue Description ##

Can`t get the C# Dev Kit to work with CachyOS.
Dotnet but the OS detection isn`t working for CachyOS.

## Steps to Reproduce ##

Install CachyOS
install dotnet
install vscode

## Expected Behavior ##
the OS detection includes CachyOS

## Actual Behavior ##

.NET install tool can`t handle CachyOS

## Logs ##

Could not find the architecture of the dotnet host /usr/share/dotnet/sdk. If this host does not match the architecture x64:
Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.

Using configured .NET path: /usr/share/dotnet/sdk

Could not find the architecture of the dotnet host /usr/share/dotnet/sdk. If this host does not match the architecture x64:

[exthost.zip](https://github.com/user-attachments/files/21284629/exthost.zip)

Please set the PATH to a dotnet host that matches the architecture x64. An incorrect architecture will cause instability for the extension ms-dotnettools.csharp.

Using configured .NET path: /usr/share/dotnet/sdk
Cancelled Installation of .NET notAnAcquisitionRequest-global~x64.
We are unable to detect the distro or version of your machine
Cancelled Installation of .NET notAnAcquisitionRequest-global~x64.
We are unable to detect the distro or version of your machine ... does /etc/os-release exist?
Cancelled Installation of .NET undefined.
An active-support version of dotnet couldn't be found. Discovered versions: []
Cancelled Installation of .NET notAnAcquisitionRequest-global~x64.
We are unable to detect the distro or version of your machine
Cancelled Installation of .NET notAnAcquisitionRequest-global~x64.
We are unable to detect the distro or version of your machine ... does /etc/os-release exist?
Cancelled Installation of .NET undefined.
An active-support version of dotnet couldn't be found. Discovered versions: []

### C# log ###

2025-07-17 08:47:50.554 [info] Locating .NET runtime version 9.0.1
2025-07-17 08:47:50.669 [info] Dotnet path: /usr/share/dotnet/sdk
2025-07-17 08:47:50.669 [info] Activating C# + C# Dev Kit...
2025-07-17 08:47:50.923 [info] [stdout] info: Program[0]
Server started with process ID 5659

2025-07-17 08:47:51.138 [info] [stdout] {"pipeName":"/tmp/1f0bc658.sock"}

2025-07-17 08:47:51.138 [info] received named pipe information from server
2025-07-17 08:47:51.139 [info] client has connected to server
2025-07-17 08:47:51.219 [info] [Info - 08:47:51] [Program] Language server initialized

### C# LSP Trace Logs ###

nothing

## Environment information ##

**VSCode version**: 1.102.1
**C# Extension**: 2.84.19
**Using OmniSharp**: false

Dotnet Information
.NET SDK:
Version: 9.0.301
Commit: a596cd22e2
Workload version: 9.0.300-manifests.fadeff71
MSBuild version: 17.14.5+edd3bbf37

Runtime Environment:
OS Name: cachyos
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.301/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.6
Architecture: x64
Commit: 3875b54e7b

.NET SDKs installed:
8.0.115 [/usr/share/dotnet/sdk]
9.0.301 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.15 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_ROOT [/usr/share/dotnet]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

|Extension|Author|Version|Folder Name|
|---|---|---|---|
|copilot|GitHub|1.344.0|github.copilot-1.344.0|
|copilot-chat|GitHub|0.29.1|github.copilot-chat-0.29.1|
|csdevkit|ms-dotnettools|1.30.44|ms-dotnettools.csdevkit-1.30.44-linux-x64|
|csharp|ms-dotnettools|2.84.19|ms-dotnettools.csharp-2.84.19-linux-x64|
|geminicodeassist|google|2.40.0|google.geminicodeassist-2.40.0|
|vscode-dotnet-runtime|ms-dotnettools|2.3.6|ms-dotnettools.vscode-dotnet-runtime-2.3.6|;

Extension version: 2.84.19
VS Code version: Code 1.102.1 (7adae6a56e34cb64d08899664b814cf620465925, 2025-07-15T16:41:17.147Z)
OS version: Linux x64 6.15.6-2-cachyos
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 6800H with Radeon Graphics (16 x 3044)|
|GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off|
|Load (avg)|1, 1, 0|
|Memory (System)|14.88GB (10.24GB free)|
|Process Argv|--crash-reporter-id bbe5be79-8b93-4c07-8c3e-f6545112c5a7|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|plasma|
|XDG_CURRENT_DESKTOP|KDE|
|XDG_SESSION_DESKTOP|KDE|
|XDG_SESSION_TYPE|wayland|

A/B Experiments

```
vsliv368:30146709
binariesv615:30325510
0bi6i642:31349325
2e7ec940:31000449
nativeloc1:31344060
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
9d2cg352:31346308
convertlamdat:31329272
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335815
82j33506:31327384
nes-diff-11:31337487
2j0jg872-first:31348500
replacestringexc:31348966
testaa123cf:31335227
6abeh943:31336334
yijiwantestdri0626-c:31336931
64bie973:31348971
4gdec884:31348710
editstats-enabled:31346257

```

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.