✅ 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
3 Replies
here is my sdk variable and path contents aswell
you do not want the environment variable. that is the cause of the issue
yep, that was it. no idea where that variable came from lol, appreciate it!