I am trying to uninstall .NET core runtime version 2.1 which is part of Visual Studio 2019 Professional (16.5.4). Here's how it currently looks like:
C:\Windows\system32>dotnet --list-sdks
3.1.201 [C:\Program Files\dotnet\sdk]
C:\Windows\system32>dotnet --list-runtimes
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
They are no where to found in Control Panel because probably they are part of Visual Studio. The reason for uninstalling is that I have received following advisory:
http://www.nessus.org/u?530ba67f
And which took me to following page where all .NET Core 2.1 versions are listed.
https://dotnet.microsoft.com/download/dotnet-core/2.1
.NET core feels like version hell like we had DLL hell at one time and it is very confusing. How do I uninstall 2.1 from my machine? I already went into VS, then I clicked on "Modify" and unchecked versions 2.1 but these are still there.