© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
trev

✅ MSBuild/dotnet CLI SDK error: "The SDK 'Microsoft.NET.Sdk' specified could not be found."

hey everyone, i've been having a weird problem with the dotnet cli and msbuild that i haven't been able to find much information about online

if i try to use roslynpad or do anything with the dotnet cli, this errors like this are thrown at me
https://pastebin.com/TugtmA9B

i'm able to create and build projects in visual studio (2022 community, if it matters) just fine, just the dotnet cli is broken as far as i know

i've uninstalled and reinstalled visual studio, dotnet cli, and all runtimes and sdks i had yet nothing seemed to change

dotnet --info if wanted:
https://pastebin.com/y7bZTx4R
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ The SDK 'Microsoft NET.Sdk specified could not be found
C#CC# / help
3y ago
dotnet SDK not found. [Answered]
C#CC# / help
4y ago
✅ Updated Visual Studio - Microsoft.Net.Sdk.Razor cannot be found
C#CC# / help
2y ago
❔ ✅ [SOLVED] The .NET Core SDK cannot be located: Error running dotnet
C#CC# / help
3y ago