Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Unable to call CSInstallRoslyn #24

Open
SFX123456 opened this issue Mar 5, 2024 · 1 comment
Open

Unable to call CSInstallRoslyn #24

SFX123456 opened this issue Mar 5, 2024 · 1 comment

Comments

@SFX123456
Copy link

Hello i am tyring to get any Lsp to work with neovim but it just does not work. Mason installed that Lsp but it still does not work. I tried running :CSInstallRoslyn and it says not an editor command. I have a .sln file and a .csproj. I have a .net 6 project and i have .net 6 7 and 8 installed. I can call dotnet build and run from my terminal. I am running Ubuntu 22 on Wsl. Please help.

@albinlju
Copy link

albinlju commented Mar 8, 2024

I have this plugin working on Ubuntu 22.04.1 Wsl. Make sure the following:

  • Dotnet SDK 7 installed on your wsl
  • Having neovim nightly installed
  • Roslyn.nvim is installed via plugin manager, in your case Mason.
  • Install the language server with :CSInstallRoslyn within neovim
  • Make sure to create a sln in project folder

If the plugin is installed you should be able to list and see the command CSInstallRoslyn with :command

Aditional info: I have used lazy.nvim for my neovim config setup.

Issues i had: After i successfully installed the language server i had the same error as #18 But with installing the language server from gh release as Jmederosalvarado mentioning, now everything works like a charm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants