Skip to content
New issue

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

.NET Core 3 RTM, issue resolving SDK #1608

Closed
vcsjones opened this issue Sep 25, 2019 · 2 comments
Closed

.NET Core 3 RTM, issue resolving SDK #1608

vcsjones opened this issue Sep 25, 2019 · 2 comments

Comments

@vcsjones
Copy link

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.

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.

@vcsjones
Copy link
Author

Okay, it looks like this might actually be resolved with #1606. Double checking.

@vcsjones
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant