-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
dotnet --list-sdks
lists the following, but I don't need .NET 6 and would like to remove it
6.0.301 [C:\Program Files\dotnet\sdk]
9.0.305 [C:\Program Files\dotnet\sdk]
Installed Apps on Windows shows:
Microsoft .NET SDK 6.0.300 (x64) from Visual Studio
installed, however if I try to uninstall it I get

It's looking for this MSI folder which doesn't exist C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.NetCore.SdkPlaceholder.6.0.300-rtm.22221.3,version=17.2.32503.368,machinearch=x64\
The SDK does exist however in C:\Program Files\dotnet\sdk\6.0.301
There's no option in Visual Studio Installer to remove it, only to remove .NET SDK
which would be v9 I assume.
dotnet-core-uninstall
app won't remove it as it was installed by VS later than 2019 Update 3
Though I could just delete the folder I guess, I would like to clean it up properly ensuring reg entries are removed and install app entry removed etc.