We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm facing an issue very similar to #1541 however on Linux and am not sure how to troubleshoot or proceed.
In short, it looks like Omnisharp is not able to resolve the SDK and I get the errors:
The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) (CS0246)
Which I can reproduce with a simple dotnet new console and opening it with VS Code.
dotnet new console
Some logs:
Registered MSBuild instance: StandAlone 16.0 - "/home/kjones/.vscode/extensions/ms-vscode.csharp-1.21.3/.omnisharp/1.34.4-beta.7/omnisharp/.msbuild/Current/Bin" MSBuildExtensionsPath = /home/kjones/.vscode/extensions/ms-vscode.csharp-1.21.3/.omnisharp/1.34.4-beta.7/omnisharp/.msbuild BypassFrameworkInstallChecks = true CscToolPath = /home/kjones/.vscode/extensions/ms-vscode.csharp-1.21.3/.omnisharp/1.34.4-beta.7/omnisharp/.msbuild/Current/Bin/Roslyn CscToolExe = csc.exe MSBuildToolsPath = /home/kjones/.vscode/extensions/ms-vscode.csharp-1.21.3/.omnisharp/1.34.4-beta.7/omnisharp/.msbuild/Current/Bin
This is on Ubuntu 19.04, so there is no Visual Studio installation that has a conflicting msbuild installation.
The only warning I saw in the logs was:
warn: OmniSharp.MSBuild.PackageDependencyChecker scratch: Did not find 'Microsoft.NETCore.App' in lock file.
Any advice to troubleshoot would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Okay, it looks like this might actually be resolved with #1606. Double checking.
Sorry, something went wrong.
I see this has been discussed extensively at dotnet/vscode-csharp/issues/3289 and dotnet/vscode-csharp/issues/3290. I will close this to reduce noise. Thanks!
No branches or pull requests
I'm facing an issue very similar to #1541 however on Linux and am not sure how to troubleshoot or proceed.
In short, it looks like Omnisharp is not able to resolve the SDK and I get the errors:
Which I can reproduce with a simple
dotnet new console
and opening it with VS Code.Some logs:
This is on Ubuntu 19.04, so there is no Visual Studio installation that has a conflicting msbuild installation.
The only warning I saw in the logs was:
Any advice to troubleshoot would be greatly appreciated.
The text was updated successfully, but these errors were encountered: