-
Notifications
You must be signed in to change notification settings - Fork 420
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 crashes all the time #2391
Comments
I had this same problem. In my case, OmniSharp was confused about which project in my folder structure to load. I had to Your folder structure is obviously different, and I only see one project in your video, but I wonder if selecting your project manually via the actions I just mentioned might help. |
You maybe shocked but uninstalling |
I get this in Razor. With and without
Didn't solve it for me. |
Did also solve my Problem. |
I need omnisharp for a c# script, which is not supported in the new language server as far as i can see, but i also experience crashes all the times as the others here, i have a plain vscode without any plugins. |
I'm using omnisharp vscode extension and the omnisharp server crashes every 5-10 seconds with one the following errors:
or
If I enable inlay hints, one more similar error appears:
I cannot find the correlation between the source code I'm typing and these error and I'm not sure, is it a problem of vscode extension or omnisharp itself. I already had the similar issue before (dotnet/vscode-csharp#5149), but now i've disabled inlay hins at all but still have tons of errors.
Technical details:
Vscode 1.66.2
OmniSharp version: 1.38.2-net6.0
OS: Arch Linux
UPD. A small reproduce:
2022-04-26.12-43-42.mp4
It is just simple webapi project, where I'm editing a dto. When the file is saved, the problem is gone then it returns after some time.
The text was updated successfully, but these errors were encountered: