-
Notifications
You must be signed in to change notification settings - Fork 686
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 invalid CIL #853
Comments
@darkoverlordofdata: the output above seems very strange. I'm not sure why it would try to launch a .NET Core version of OmniSharp with Mono, but I'm guessing that's the problem. Did you set |
I'm having the same issue, is there anything I can try ? |
Have you set the |
Thanks for the reply. |
Makes sense. Out of curiosity, which version of the extension did you install? Was it from the VS Code marketplace? Or, was it one of the beta releases available on this repo? |
I've set useMono to false, and it loads. That seems counter-intuitive since I'm on linux, wouldn't I want to use mono? Anyway, it them can compile, but it can't run - I get a message: Run 'Debug: Download .NET Core Debugger' in the Command Palette or open a .NET project directory to download the .NET Core Debugger But when I do that, nothing happens. It doesn't seem like this product is ready yet.... |
It's a bit counter-intuitive, but you downloaded the standalone OmniSharp that is built for Ubuntu. That version runs natively on Ubuntu and doesn't need Mono. There is a Mono build of OmniSharp that requires Mono to run. |
Glad both of you got it working. Note that this should be much easier in the 1.5 release, which is coming soon. |
I get something like: [fail]: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo The project 'd: \ Projects GIT \ Fennec Fox Solutions \ FoxAccount \ src \ FoxAccount.Application \ FoxAccount.Application.csproj' does not have any destination structure compatible with '.NETCoreApp, Version = v2.0 '. |
Could you file a new issue rather than reporting on a year-old closed issue? Thanks! |
From @darkoverlordofdata on October 28, 2016 20:27
Steps to Reproduce:
Get the following output:
Starting OmniSharp server at 10/28/2016, 1:22:37 PM
Target: /home/bruce/Downloads/WindowsExplorer_C/WindowsExplorer_C.sln
OmniSharp server started wth Mono
Path: /home/bruce/Applications/omnisharp-ubuntu16-x64-netcoreapp1.0/OmniSharp
PID: 23323
Cannot open assembly '/home/bruce/Applications/omnisharp-ubuntu16-x64-netcoreapp1.0/OmniSharp': File does not contain a valid CIL image.
[ERROR] Error: Failed to start OmniSharp
Copied from original issue: microsoft/vscode#14676
The text was updated successfully, but these errors were encountered: