-
Notifications
You must be signed in to change notification settings - Fork 419
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
Could not locate MSBuild instance to register with OmniSharp. #2635
Comments
Experiencing possibly the same issue, although I get different error message:
Here's what my
Even tried overriding |
@CwkDark OmniSharp looks for the dotnet CLI to be available from the PATH. @Lexpeartha Does the folder you are opening have a global.json? If so, what version of the SDK is it pinning? |
No, I don't this it has. The only version I have, which would be 8.0.4 I believe. |
@Lexpeartha I found this issue comment that might help. microsoft/MSBuildLocator#302 (comment) |
dotnet CLI is located in PATH |
I got the same issue. I simply downloaded the wrong release (omnisharp-win-x64). As soon as I got the right release (omnisharp-win-x64-net6.0) the msbuild instances for netcore were found. |
OmniSharp Log:
I installed DotNet using the tutorial, I also configured the
DOTNET_ROOT
environment variabledotnet --info
The above shows that I have an MSBuild 17.10.4+10fbfbf2e
But OnmiSharp cannot detect and use it
The text was updated successfully, but these errors were encountered: