Are you a .NET developer? Check how to clean 15 GB of free space occupied by old versions and updates of .NET Core - ByteScout
  • Home
  • /
  • Blog
  • /
  • Are you a .NET developer? Check how to clean 15 GB of free space occupied by old versions and updates of .NET Core

Are you a .NET developer? Check how to clean 15 GB of free space occupied by old versions and updates of .NET Core

If you are a .NET developer and you need to clean up free space on your hard drive then you can get 10-15 GB by uninstalling old versions of the .NET core framework.

Apparently, every version of .NET Core and every update takes about 500 MB of your hard drive space. So all old versions combined may occupy 15 GB easily.

If you have not bound your project to a specific version then you need the latest version of .NET Core SDK only. All others waste your disk space.

To clean your hard drive, do the following:

  • First, run the following command line to see the list of all installed .NET Core SDK versions and updates:
    dotnet –list-sdks
  • Then run Windows Explorer. Open “c:\Program Files\dotnet\” folder and right-click on “net” subfolder. Select Properties in the popup menu to see how much space is occupied by all versions of SDK.
  • Then remove old versions of .NET Core by going to Windows Settings -> Apps
  • Now select old .NET Core SDK versions one by one and uninstall them using  Uninstall button.
  • Enjoy additional free space on your hard drive!

P.S.: you may always just re-install specific .NET Core version on your machine again if you need it from this page

   

About the Author

ByteScout Team ByteScout Team of Writers ByteScout has a team of professional writers proficient in different technical topics. We select the best writers to cover interesting and trending topics for our readers. We love developers and we hope our articles help you learn about programming and programmers.  
prev
next