James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Live, Love, Bike, and Code



Cleaning Up Space on Your Xamarin Development Machine

Today, I officially uninstall Visual Studio 2015 and upgrade to Visual Studio 2017!! Whenever I do a major upgrade I usually re-format my machine and get a fresh install, but this time I decided not to and just uninstall and clean up my machine as best as I can. While VS 2015 for sure installs tons of stuff all over the place and I can manually uninstall things, I figured it was a good time to help developers clean up space on their machines. I do this every few months because there are always new upgrades, nugets, and android packages that are cached around.


This is the first thing I blow away because I don’t need 5GB of packages cached! Head to:

Delete it all! Now all your packages will be re-downloaded.

Android Library Cache

When you install a support package or google play service previously, a ton of files had to be downloaded. Now things are really small, but all versions ever are cached around on your machine, which is a good thing, but let’s purge!

You can blow away anything that starts with Xamarin.___ and zips:

Android SDKs

Xamarin only installs SDKs and emulators that you need, but that doesn’t mean that you went in and installed everything. Groom and delete old APIs that you no longer need. You can always re-download from the sdk manger. DO NOT delete the entire directory, only specific platform sdks and avd images.

Hidden Visual/Xamarin Studio Download Cache

When you download updates in older VS 2013/2015 there is a folder where downloads are cached that you can go and clean up. I had a few gigs in there

There you go, this should get you pretty far to a cleanup of random files you probably don’t need or will just get re-downloaded :)

Copyright © James Montemagno 2017 All rights reserved. Privacy Policy

View Comments