-
Notifications
You must be signed in to change notification settings - Fork 685
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
There are some problems connecting to the language server #6513
Comments
It looks like for some reason the path we're getting to the @DonPangPang would you mind sharing a bit more info here
|
I was able to reproduce this. It appears to be due to an issue with snap and symlinks. Running the following on a snap dotnet installed system
The issue is that we are expecting the real path to point to a dotnet executable, but with snap it points to the The 'real' location of dotnet appears to be @DonPangPang I think you could probably workaround this issue if you set the |
|
path:
the |
when i set |
Thanks for the info! FYI @AArnott for the C# devkit side. In summary, a dotnet installation from snap will have the Am talking to @nagilson to see if there is a better way to find the dotnet executable. I don't have a specific solution here yet, but potentially looking 2 folders up from the SDK path output by |
I suggested @dibarbet reach out to the runtime team to confirm that this approach works. Note that the SDK team advises people to not use |
What does |
@AArnott I think it genuinely is
Also pasting snippets of my offline conversation with @elinor-fung
And answering if the same applies to the runtime folder output by
So as Noah mentioned, a potential solution here is to get the path from |
My sln is: create a link as |
The C# extension side fix should be released next week. I've filed microsoft/vscode-dotnettools#605 to track the fix on the devkit side. |
okey,thanks. |
OS: Ubuntu 23
![image](https://private-user-images.githubusercontent.com/49866401/273746868-14f377d2-a578-44b6-bc83-7eff98654dd6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTA2MzIsIm5iZiI6MTczOTI5MDMzMiwicGF0aCI6Ii80OTg2NjQwMS8yNzM3NDY4NjgtMTRmMzc3ZDItYTU3OC00NGI2LWJjODMtN2VmZjk4NjU0ZGQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE2MTIxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmNDA5OTBmZjQzNzNiZjllMjBkNzVlZWEzZjAwYjQ2ZTJjZWZkM2YzZDJhNjM1NDZkNDBkMTI2OGRjZTAzNGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OhGohBYuhfQSN2DoFgaPE7q1ZnDiGPiIQFIDVNF-EFc)
Env: snap dotnet 7.0.11
Error: unknown command /home/powers/.vscode/extensions/ms-dotnettools.csharp-2.5.30-linux-x64/.roslyn/Microsoft.CodeAnalysis.LanguageServer.dll
The text was updated successfully, but these errors were encountered: