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 shows ~1k problems unexpectly when it loads!!

See original GitHub issue

Environment data

dotnet --info output: SDK de .NET Core (reflejando cualquier global.json): Version: 3.0.103 Commit: b7ef045669

Entorno de tiempo de ejecución: OS Name: arcolinux OS Version: v20.1.4 OS Platform: Linux RID: linux-x64 Base Path: /home/dennisqc/.dotnet/sdk/3.0.103/

Host (useful for support): Version: 3.0.3 Commit: c03f2fe626

.NET Core SDKs installed: 3.0.103 [/home/dennisqc/.dotnet/sdk]

.NET Core runtimes installed: Microsoft.AspNetCore.App 3.0.3 [/home/dennisqc/.dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.0.3 [/home/dennisqc/.dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download

VS Code version: Version: 1.44.2 Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd Date: 2020-04-16T17:50:03.709Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Linux x64 5.5.11-arch1-1

C# Extension version: 1.21.18

Steps to reproduce

  1. Install dotnet sdk 3 and runtimes.
  2. Install visual-studio-code-bin from Aur
  3. Install Omnisharp
  4. Restore a project
  5. Open vscode and shows 1k problems whit obvious references that doesnt find. Screenshoot: Problems on Omnisharp

Expected behavior

Omnisharp shows less problems or the real ones… not every line.

Actual behavior

Omnisharp shows ~1k problems unexpectly.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
JoeRobichcommented, May 18, 2020

@nightblade9 Sorry you are having issues. This might be a case where the msbuild in the mono package isn’t complete. There is a msbuild-stable package you could install that may resolve this issue. If you find things just work better with the included mono, you can also set omnisharp.useGlobalMono to never and it will only use the included mono.

1reaction
dcruz1990commented, May 18, 2020

So, what i need to do? install msbuild-stable ? im using dotnet for webapi.

Edit: According to @JoeRobich , i changed the setting and everything works fine!!!

Thanks all!!! now closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

vs code Problems with C# extension, Some projects have ...
I checked the solution they wrote solution is to make sure Mono is installed on your machine (https://mono-project.com/download/) and that ...
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 >
Fixing issues with building C# solutions in .NET Core using ...
Once OmniSharp will be able to load your project, it will start complaining that it can't find specific types that are a part...
Read more >
Omnisharp having trouble loading C# project file : r/vscode
The one I've seen most frequently is to change omnisharp.path in the settings to "latest". When I did this it downloaded the .Net...
Read more >
Instructions for Load Testing In Node.js - Morioh
Load testing is the process of putting expected or unexpected demand on a ... in VS Code - all of that with full...
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