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
MacOS, VSCode and the "The SDK 'Microsoft.Net.Sdk' specified could not be found." #1436
Comments
For anyone encountered the same problem, I found a temporary solution. Add {
"MsBuild": {
"MsBuildSDKsPath": "/usr/local/share/dotnet/sdk/2.2.103/Sdks",
"UseLegacySdkResolver": true
}
} Where Hope it works for you. |
Seems like a duplicate of #1416. |
I tried updating to latest roslyn release, and use the suggestion above for Here I am running Linux Mint, and dotnet 2.1.602. Happy to help with the debug. |
@afterwind-io it works :) |
dot net update to 2.1.603, still same problem. |
Today I stumble upon the same error. Installing the dotnet through the official mac installer solve the problem for me. Using SDK v3.1.4. |
I am having the same issue this morning I updated to 8.10.5(build 16) dot net 5.0.7 |
I had the same problem, and in my project, the When I opened the VSCode on that sub-folder, it works. |
@afterwind-io Your answer is still working but has you figured out the permanent solution for this? it may create conflict everytime code is sync on two different mac machines. |
VSCode Version: 1.32.3
dotnet --info
:.NET Core SDK (reflecting any global.json): Version: 2.2.103 Commit: 8edbc2570a Runtime Environment: OS Name: Mac OS X OS Version: 10.14 OS Platform: Darwin RID: osx.10.14-x64 Base Path: /usr/local/share/dotnet/sdk/2.2.103/ Host (useful for support): Version: 2.2.1 Commit: 878dd11e62 .NET Core SDKs installed: 2.2.103 [/usr/local/share/dotnet/sdk] .NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
.csproj
:OmniSharp Log:
The text was updated successfully, but these errors were encountered: