Visual Studio for macOS add-in / extension that brings you tasty features.
Branch: master
Clone or download
Latest commit e78cf9e Jun 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
Graphics Screenshots added Dec 28, 2017
.gitignore Implement delete solution command handler. Jun 9, 2018
LICENSE Create LICENSE Dec 28, 2017 update README Jun 9, 2018
VSMacDeepClean.sln V1.0 Initial commit. Dec 28, 2017 is a part of the project from now Jan 2, 2018


Is a Visual Studio for macOS add-in / extension that let you easily clean projects, NuGet, Xamarin and VS cache without leaving the IDE.
This extension is making it's first steps, please make sure you have a back up of your code before using it!


Under the "File" menu:

  • Delete Solution

Under the "Build" menu:

  • Delete /bin /obj directories
    • Recursively delete all the /bin & /obj directories on the solution level
  • Delete /packages directory

Right click on any directory within the solution:

  • Open terminal at directory

Under the "Tools" menu:

  • Clear NuGet Cache
    • Delete the next directories ~/.nuget/packages & ~/.local/share/NuGet
  • Clear Android Library Cache
    • Delete all the directories within ~/.local/share/Xamarin that matching the next search pattern 'Xamarin.*;
  • Clear Unused Framework Libraries
    • Delete all except current version within:
      • /Library/Frameworks/Mono.framework/Versions
      • /Library/Frameworks/Xamarin.Android.framework/Versions
      • /Library/Frameworks/Xamarin.iOS.framework/Versions
      • /Library/Frameworks/Xamarin.Mac.framework/Versions

Please note that after manipulating NuGet cache, both local or global, you will have to restore NuGet packages for your workspace.



You can download and install DeepClean using the Extension Manager of Visual Studio for Mac by searching the Gallery.


Alternatively you can download and install it manually using the folowing steps:

Download the latest version from here.
Open Visual Studio for macOS and open the "Extensions..." menu

Now click on "Install from file" and choose the downloaded mpack

It may take few seconds to install but the result should be

The extension will be enabled only when a solution is opened in VS.



In order to debug this solution you will have to install MonoDevelop.AddinMaker.

The aim of this project is to practice and experiment with Visual Studio for macOS extensions development. To play around with this solution just clone this repository and open it with you VS. To build a mpack package, build the solution in Release mode and execute the output will be redirected to Versions directory.

While development I used the next articles:
Как сделать Xamarin Studio чуточку лучше?
How to Write Add-ins of Visual Studio for Mac
Extending Visual Studio for Mac Walkthrough
Cleaning Up Space on Your Xamarin Development Machine


Big thanks to our contributors:


This project is licensed under the MIT License - see the file for details