-
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
Failed to start OmniSharp #655
Comments
@mm75: what Linux distro are you running? |
@DustinCampbell |
Ubuntu 15.10? OmniSharp should only install and run on 14 or 16. I'll install that distro and see why (https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/platform.ts#L61-L69) is allowing 15.10. |
Now that I step through the code, I see why it isn't working. It's a rookie mistake: case fall through. 😄 Since, the "ubuntu" case only checks for versions 14 or 16, version 15 is unhandled. However, there's no break statement, so it just falls through to the "centos" case. Unfortunately, Ubuntu 15.10 is not a supported Linux distro today. You can get things working with the Mono version of OmniSharp by using the following steps though:
"csharp.omnisharp": "/path/to/the/OmniSharp/executable/you/just/untarred",
"csharp.omnisharpUsesMono": true Note: In the next release of the C# Extension, we're changing these values to: "omnisharp.path": "/path/to/the/OmniSharp/executable/you/just/untarred",
"omnisharp.usesMono": true |
Note: We intend to make the process of acquiring the mono version of OmniSharp easier on any Linux distro. #593 |
Thank you for your attention!!! I will follow your suggestions 2016-08-25 12:18 GMT-03:00 Dustin Campbell notifications@github.com:
|
Excellent! Let me know how it goes. |
From @mm75 on August 11, 2016 18:26
[INFO] Starting OmniSharp at '/home/jhondoe/www/hwapp'...
[INFO] Started OmniSharp from '/home/jhondoe/.vscode/extensions/ms-vscode.csharp-1.3.0/out/.omnisharp-coreclr/OmniSharp' with process id 15200...
Failed to initialize CoreCLR, HRESULT: 0x80131500
[ERROR] Error: Failed to start OmniSharp
Copied from original issue: microsoft/vscode#10442
The text was updated successfully, but these errors were encountered: