question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OmniSharp not working on linux

See original GitHub issue

Environment data

dotnet --info output: https://paste.pound-python.org/show/heAxiZ7vg4JUzEZ30Vzb/ VS Code version: 1.22.1 and 1.25.0 C# Extension version: 1.15.2

Steps to reproduce

Opened https://github.com/Interkarma/daggerfall-unity in unity-editor to generate .sln and .csproj (Assets->Open C# Project). Then opened project in VSCode-1.25.0 w/ ms-vscode.csharp-1.15.2.

Also, tried simple console program. dotnet new console. Opened Program.cs.

Expected behavior

Expect omnisharp/intellisense to be enabled. No option to “Find All References” in r-click menu. Shift-f12 doesn’t “Find All References”. etc

Actual behavior

No omnisharp/intellisense.

No fire icon in bottom right of status bar. status

No “OmniSharp” option in pulldown of Output window.

Output of “Extensions” extensions

Output of “Log (Extension Host)” LogExtensionHost

The binary is a windows executable. See https://paste.pound-python.org/show/PuSrFzifPXwmq38GEdFQ/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
brogan89commented, Aug 30, 2018

I know this has been closed now, but just in case others have issues and find them selves here. I had a similar issue on MX Linux. I solved it by installed mono-devel and msbuild packages. - Probably obvious to linux users but I’m a bit of linux noob so it wasn’t so obvious at first.

0reactions
lucianpostoncommented, Sep 4, 2018

@jsdev17 I looked at the executable files in the tar/deb download and compared that to what was installed by my package manager. Some files in my installation did not have the execute bit set while it was set in the tar/deb. Properly setting the execute bit on those files fixed my issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OmniSharp Intellisense Linux Ubuntu 20.04 does not works
If You still has problem with missing reference, the last step is to change global property in VSC for omnisharp. Go to File...
Read more >
Omnisharp C# Not Working on Ubuntu 22.04 with Unity
Ok I have solved the problem. what I did was to remove the Microsoft Package of dotnet (sdk & runtime) and installed the...
Read more >
VSCode omnisharp not loading - Unity Answers
I am suddenly failing to get VS Code on Ubuntu to have omnisharp to initialize. I am getting the following error: [fail]: OmniSharp.MSBuild....
Read more >
The Real Ultimate Guide to Fixing OmniSharp in VS Code | Blog
There are times when OmniSharp does not start up at all, in which case you can run a command to restart it. In...
Read more >
Omnisharp not working with Mono and Unity on Gentoo
My OS is Gentoo, x64. I am currently trying to make VSCode work properly with Unity. I have 2 Mono installations: one is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found