-
Notifications
You must be signed in to change notification settings - Fork 680
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
Omnisharp server crashes on start #5181
Comments
Mono stable is over 1 year old and quite outdated, you should try with preview Mono https://www.mono-project.com/download/preview/ |
Thanks, tried "preview", but error is the same :( |
I have the exact same issue. Running MAC OS 12.2.1 and the server was crashing when running omnisharp 1.38.3-beta.67 or 1.38.3-beta.69. Looking into the folder ~/.vscode/extensions/ms-dotnettools.csharp-1.24.4-darwin-x64/.omnisharp/ i found omnisharp version 1.38.2. Running this version from the terminal window worked. I changed the omnisharp path in VSCODE to the working version as a workaround. "omnisharp.path": "/Users/xxx/.vscode/extensions/ms-dotnettools.csharp-1.24.4-darwin-x64/.omnisharp/1.38.2/run" where xxx is the user folder. |
I have the exact same issue. Running MAC OS 12.2.1 and I get this error in the Omnisharp Output window whenever VS Code loads up or I run the command to 'Restart Omnisharp'.
I would say that Omnisharp has broken itself from one of its own update around 2 months ago. I've been hoping that the Omnisharp team would release a fix in one of the subsequent updates as this is quite a show stopper but the error still persists. It means that I need to use Visual Studio to write C# code. |
Thank you so much for the fix. |
Notice that the error is on the beta version of OmniSharp server - Going forward as described in the announcement #5120 the recommended approach is to:
|
OS: Linux mint 20.1
Environment data
Checking dotnet version:
C# extension version: 1.24.4
VSCode version: 1.66.2
Opening VSCode, but it show the console with error:
OmniSharp log
Steps to reproduce
Expected behavior
C# autocomplete works in VScode
Actual behavior
See error above
The text was updated successfully, but these errors were encountered: