Skip to content

C# devkit language server not working due to dynamically linked dependencies #71

@dannykruitbosch

Description

@dannykruitbosch

Hi,

Installing the C# devkit extension using the vs-code-marked-place does not work for me. I get this error when the extension tried to start

Unable to find extension target platform - no vsix manifest file exists at /home/danny/.vscode/extensions/ms-dotnettools.csharp/.vsixmanifest
Using dotnet configured on PATH
Dotnet path: /nix/store/m9dbas0s0a0lfgha03hb85cnb3r82bf2-dotnet-sdk-8.0.303/dotnet
Activating C# + C# Dev Kit...
waiting for named pipe information from server...
[stderr] Could not start dynamically linked executable: /nix/store/0h79yhcmvpmb1jkc6sxxr97w6vkiki29-vscode-extension-ms-dotnettools-csharp-2.39.29/share/vscode/extensions/ms-dotnettools.csharp/.roslyn/Microsoft.CodeAnalysis.LanguageServer
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
Language server process exited with 127

As far as I can see, the extension should be patched for this already in the nix-vscode-extensions overrides, so there must be something else I am doing wrong.

Some help on how to fix this would be great.

Danny

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions