The SDK 'Microsoft.NET.Sdk' specified could not be found.
See original GitHub issueCouldn’t get the (latest) C# extension to work correctly on one of my machines. The project is a .NET Core 3.0 dotnet new console
project with no changes.
Here are the logs: https://gist.github.com/richlander/9931ebb3c3570615439fe0ccf3ae6657
The logs demonstrate the machine env, launch code and then show the O# logs that I saw, rinse and repeat. I tried various suggestions I found @ https://github.com/Microsoft/msbuild/issues/2532
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:37 (6 by maintainers)
Top Results From Across the Web
MSBUILD throws error: The SDK 'Microsoft.NET.Sdk' specified ...
Sdk ' specified could not be found. The version of msbuild is the latest from microsoft visual studio 2017 tools. I'm using Windows...
Read more >MSB4236: The SDK 'name' specified could not be found.
This error occurs when an MSBuild project SDK couldn't be loaded. An MSBuild project SDK is a packaged set of imported files that...
Read more >MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be ...
PS: I found out about this because when I did a dotnet restore and the error log became: C:\Program Files\dotnet\sdk\6.0. 301\Current\ ...
Read more >MSB4236 The SDK Microsoft.NET.Sdk specified could not be ...
The error was error MSB4236 The SDK Microsoft.NET.Sdk specified could not be found and is because the project now includes dotnetcore ...
Read more >The SDK 'Microsoft.NET.Sdk' specified could not be found
Pack drwxr-xr-x 5 root root 4096 Απρ 5 19:48 Xamarin.IoT.Sdk. Go detected. Rider is not able find "Microsoft.NET.Sdk" when using a simple project...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Don’t ask me where I found this, but the following command has fixed the issue for me (probably worth a try):
dotnet nuget locals all -c
I also have added this to my omnisharp.json:
Gold luck
I found this to be a problem when I installed dotnet via HomeBrew on mac. Uninstalled that, then used the normal installer from https://aka.ms/dotnet-download