Search code examples
.netsdk

Is it ok to uninstall old versions of Microsoft .Net SDK?


I have several old .NET SDK versions which take up a lot of disk space. Is it ok to remove the older .NET SDK versions? I seldom do .Net development myself.

My concern is that it will affect the smooth running of applications. Will it?

enter image description here


Solution

  • There are some features of development from Visual Studio that are tighly coupled with specific versions of .NET 4.x and .NET Core 3.1 even if you are using only the latest 4.8 and .NET 7 versions to develop. A safer course to take is uninstall by Visual Studio Installer, select "Modify", in the "Individual Components" tab left marked only the verions of SDK are you really using.

    enter image description here

    If some Visual Studio template/feature that depends that option be removed it'll alert you.