Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update request: vscode-extensions.ms-dotnettools.csharp: 1.25.x → 2.x #270507

Open
1 task done
mausch opened this issue Nov 27, 2023 · 1 comment
Open
1 task done

Update request: vscode-extensions.ms-dotnettools.csharp: 1.25.x → 2.x #270507

mausch opened this issue Nov 27, 2023 · 1 comment

Comments

@mausch
Copy link
Member

mausch commented Nov 27, 2023

  • Package name: vscode extension ms-dotnettools.csharp
  • Latest released version: 2.12.4
  • Current version on the unstable channel: 1.25.4
  • Current version on the stable/release channel: 1.25.4

Notify maintainers

@jraygauthier

I noticed that ms-dotnettools.csdevkit ( #270423 ) uses ms-dotnettools.csharp 2.x which has replaced OmniSharp with Roslyn... which probably means major changes to the packaging of this extension unfortunately 😞


Note for maintainers: Please tag this issue in your PR.

Priorities

Add a 👍 reaction to issues you find important.

@ablearthy
Copy link

ablearthy commented Jan 21, 2024

Works on my machine (note: mktplcRef.arch is required, otherwise by default it downloads extension for arm64):

(pkgs.vscode-utils.buildVscodeMarketplaceExtension {
  mktplcRef = {
    name = "csharp";
    publisher = "ms-dotnettools";
    version = "2.15.30";
    sha256 = "sha256-i5shbpjp0e0qUIG6FLPu1mIN0DD2+zdCq/nZa49v5iI=";
    arch = "linux-x64";
  };

  postPatch = ''
    sed -i -E -e 's_uname -m_${pkgs.coreutils}/bin/uname -m_g' "$PWD/dist/extension.js"
  
    patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
      --set-rpath "${lib.makeLibraryPath [ pkgs.stdenv.cc.cc ]}:\$ORIGIN" \
      "./.roslyn/Microsoft.CodeAnalysis.LanguageServer"
  '';
})

@superherointj superherointj changed the title Update request: vscode extension ms-dotnettools.csharp 1.25.x → 2.x Update request: vscode-extensions.ms-dotnettools.csharp: 1.25.x → 2.x Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants