csharp-language-server icon indicating copy to clipboard operation
csharp-language-server copied to clipboard

dotnet tool install --global csharp-ls does not install to the correct directory

Open Rimann91 opened this issue 2 years ago • 1 comments

attempting to follow the install instructions in the readme, copy pasting the command exactly, dotnet tells me that csharp-ls was installed successfully, but the command does not execute it. Returns 'command not found'. The tool is not in .dontet/tools. Trying to innstall again returns 'csharp-ls is already installed'.

  • Environment: WSL2 Ubuntu on windows10
  • Dotnet version 7.0.403

Things I have tried

  • restarting ws, and windows
  • uninstalling and reinstalling dotnet7 form the Microsoft PPA
  • verified .dotnet/tools is in my path

I do not know where or if the package is actually downloaded to my machine. I can not find it anywhere.

Rimann91 avatar Nov 03 '23 20:11 Rimann91

On my system, it's installed in ~/.dotnet/tools. If you cannot find it there, maybe you can try find / -name csharp-ls.

scientificworld avatar Nov 26 '23 12:11 scientificworld