-
Notifications
You must be signed in to change notification settings - Fork 677
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 fails to load #3545
Comments
I'm getting this same issue. I've worked around it by setting |
True, I just removed my setting and it's still working. |
Downgrade to ver 1.21.9 can prevent the problem temporary... |
@JoeRobich would you mind looking into this? looks like it's related to OmniSharp/omnisharp-roslyn#1679 - thanks! |
Looks like it was caused by this Mono issue - mono/mono#18531. 6.6.0.161 which is what we packaged seems to be the last 6.6.0 build. We need to revert back to 6.4.0 or bump to 6.8.0. |
ouch. I reckon we could bump the bundled runtime to 6.8.0 that's also stable already. |
The current workaround - if you are affected - would be to one of the following:
I would personally recommend the latter since the MSBuild behavior with global Mono install on your machine would be better. |
Looks like i need a mono upgrade... $ mono --version
Mono JIT compiler version 5.12.0.301 (2018-02/4fe3280bba1 Fri Jul 20 08:25:42 EDT 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(3.6.0svn-mono-master/8b1520c8aae)
GC: sgen (concurrent by default) update6.6.0 has omnisharp loaded and working. Thanks for the details and work around. Would you like me to close the issue or do you want to close it when 6.8.0 is functioning? |
I think it should stay open until we patch this |
What is the reason mono is being used and not .Net Core? |
not all MSBuild tasks would work on .NET Core which would impact non-.NET Core projects. |
@filipw am I safe to install mono from homebrew and have it stay current now? |
God, man, you're my savior, I almost got to the point of removing the system)) |
I was having the same issue for a few months now and my problem was solved by changing |
This solved my problem, thank you! |
isn't there a dotnet core implementation now that does not need mono at all? |
Mono and MSBuild are no longer included with nightly builds of O#. See the announcement at #5120 |
Issue Description
Omnisharp fails to load
Steps to Reproduce
Open dotnet project and look at log
Expected Behavior
omnisharp should start
Actual Behavior
image not found and the server times out when trying to load
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.41.1
C# Extension: 1.21.10
Mono Information
OmniSharp using built-in monoDotnet Information
.NET Core SDK (reflecting any global.json): Version: 3.1.100 Commit: cd82f021f4Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /usr/local/share/dotnet/sdk/3.1.100/
Host (useful for support):
Version: 3.1.0
Commit: 65f04fb6db
.NET Core SDKs installed:
2.2.207 [/usr/local/share/dotnet/sdk]
2.2.300 [/usr/local/share/dotnet/sdk]
3.0.100 [/usr/local/share/dotnet/sdk]
3.1.100 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: