Omnisharp shows ~1k problems unexpectly when it loads!!
See original GitHub issueEnvironment 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
- Install dotnet sdk 3 and runtimes.
- Install visual-studio-code-bin from Aur
- Install Omnisharp
- Restore a project
- Open vscode and shows 1k problems whit obvious references that doesnt find. Screenshoot:
Expected behavior
Omnisharp shows less problems or the real ones… not every line.
Actual behavior
Omnisharp shows ~1k problems unexpectly.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
@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
tonever
and it will only use the included mono.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.