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 still appearing in VSCode but doesn't work, even tried restarting, uninstalling C# extensions etc ...

See original GitHub issue

Environment data

C# Extension version: 1.23.16 VSCode version: 1.61.2

dotnet --info output: $ dotnet --info .NET SDK (reflecting any global.json): Version: 5.0.301
Commit: ef17233f86

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043 OS Platform: Windows
RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\5.0.301\

Host (useful for support): Version: 5.0.7 Commit: 556582d964

.NET SDKs installed: 5.0.102 [C:\Program Files\dotnet\sdk] 5.0.301 [C:\Program Files\dotnet\sdk]

.NET runtimes installed: Microsoft.AspNetCore.All 2.1.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 1.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.28 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Steps to reproduce

Omnisharp was fine, But it still slow a little bit after I open VSCode, and need to restart it or select project to get it work. However today I open it and it didn’t work anymore.

What I tried are:

  • Ctrl + shift + p select omnisharp from the dropdown list and choose restarting, selecting project.
  • Uninstaling and reinstalling, disabled and enabled C# extensions etc.
  • Also tried reinstalling another version of omnisharp, the installing process was WELL.

All of them didn’t worked! Plus that omnisharp is still appearing in the dropdown list when I Ctrl + shift + p, but the logo in the bottom left was totally disappeared.

Expected behavior

C# Intellisence working again and logo of omnisharp appearing like it was.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kkk12a9commented, Nov 3, 2021

@JoeRobich I just checked that solution and omnisharp worked again. Thank you!

0reactions
JoeRobichcommented, Nov 3, 2021

The ENOENT error has been reported before in https://github.com/OmniSharp/omnisharp-vscode/issues/3908. Can you check your PATH environment variable and ensure that it contains C:\Windows\System32?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Omnisharp doesn't work, VSCode output doesn't even include ...
I uninstalled c# extension, reloaded VSCODE. Installed again, reloaded, let the extension download and install Omnisharp - and it works! This ...
Read more >
Intellisense not automatically working VSCode - Stack Overflow
1 build directory; Wiping my local nuget cache; Restarting Omnisharp; Uninstalling and reinstalling VS Code, as well as bumping back a version from...
Read more >
[Solved] Problems with OmniSharp and Visual Studio Code
SOLVED: Fixed the problem by reinstalling VS Code and the C# extension. I've used Visual Studio Code for few days now to edit...
Read more >
C# - Visual Studio Marketplace
If you still need Unity or .NET Framework support, you can set omnisharp.useModernNet to false in your VS Code settings and restart ...
Read more >
Why isn't my VSCode C# support working? : r/csharp - Reddit
It is because of omnisharp, it keeps crashing in the background. You can restart it using ctrl+shit+p and then look for omnisharp word....
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