Last post Apr 16, 2020 10:27 AM by FrankMartin
Apr 15, 2020 10:37 AM|FrankMartin|LINK
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:
3.1.201 [C:\Program Files\dotnet\sdk]
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:
And which took me to following page where all .NET Core 2.1 versions are listed.
.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.
Apr 15, 2020 12:02 PM|lextm|LINK
Apr 15, 2020 12:10 PM|FrankMartin|LINK
I have already read that article and it doesn't help because in my case runtime versions are not visible in control panel which means they are part of VS. That core uninstall tool is not working either.
Apr 16, 2020 10:01 AM|Sherry Chen|LINK
Maybe you can try to rename c:\Program files\dotnet folder, and re-install latest .net core sdk. Then running your visual studio to check if your project work. If it can work, please delete previous files. You could refer more here:
Apr 16, 2020 10:27 AM|FrankMartin|LINK
Thanks I will try that.