
Introduction
How many times, when you zipped your code for mailing or for posting on a site (like this :) ), have you noticed that you zipped PDB, debug files, etc., and that your little code snippet became 1 MB in size? Well, well, the same happened to me when coding and sharing code with friends through mail or using forums, so I just coded this little application; it was for my own use, so it is not too fancy. But I am sure it will help you to clean up solution folders and will save you time.
Some Visual Studio plug-ins like ReSharper generates lots of small files, and you can delete them with this application. You can select what you want to delete and what not, and extend this to your needs.
How to use
Quite simple, just copy the SolutionCleaner.exe and run it, you will be able to integrate it with the Shell by checking the "Register on Shell" menu item in the Application menu. Then, you can just right click a folder on Explorer and you will see the "Clean with Solution Cleaner" option. The program will ask you for confirmation before it starts deleting files. It will also show a preview of the files that will be deleted and the amount of space that will be freed, and will mark, in red, files that could not be deleted.
Know problems
Right clicking on a folder in the Explorer treeview and on the Explorer list view returns different folders, the one in the tree view returns the folder currently clicked, but clicking on the list view will return the parent folder. So be careful with this, and if you find out the reason, please!! let me know.
Also, registering this application on the Shell seems to require admin permisions, any workaround? Please tell.
Coming soon
I think people can modify this to delete files created by other plug-ins, but what I will do now is to zip and mail within this application, so it will be something like "Clean, zip, and send" with one click.