Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads
 
Add your own
alternative version
Go to top

Visual Studio Cleaner and More

, 18 Dec 2011
Delete junk files from Visual Studio solution/project by selecting files using search patterns
vstudiocleaner-exe.zip
VStudioCleaner.exe
vstudiocleaner-v1.8-src.zip
vstudiocleaner-v1.8
blackBubbles.jpg
dennis-lang-web.html.url
Desktop.ini
doc-web
logo.png
vsCleaner.png
vstudioCleaner-files.png
vstudioCleaner-main.png
vstudioCleaner1.png
vstudioCleaner2.png
vstudioCleaner3.png
vstudioCleaner4.png
vstudiocleanerA.gif
Thumbs.db
vBar.png
VStudioCleaner
Properties
Resources
help.rtf
VstudioCleaner.ico
VstudioCleaner.ico
VstudioCleaner.png
vstudiocleaner_v1.3.zip
vstudiocleaner_v1.3
blackBubbles.jpg
vBar.png
VStudioCleaner
Properties
VstudioCleaner.ico
VstudioCleaner.ico
VstudioCleaner.png
vstudiocleaner_v1.4-exe.zip
VStudioCleaner.exe
vstudiocleaner_v1.4-src.zip
vstudiocleaner_v1.4
blackBubbles.jpg
vBar.png
VStudioCleaner
Properties
VstudioCleaner.ico
VstudioCleaner.ico
VstudioCleaner.png
vstudiocleaner_v1.5-exe.zip
VStudioCleaner.exe
vstudiocleaner_v1.5-src.zip
vstudiocleaner_v1.5
blackBubbles.jpg
Desktop.ini
Thumbs.db
vBar.png
VStudioCleaner
Properties
VstudioCleaner.ico
VstudioCleaner.ico
VstudioCleaner.png
help.rtf
Resources
help.rtf
VStudio Cleaner v1.4  2009
By Dennis Lang 


VStudioCleaner was created to remove all the droppings from Visual Studio 2008.
The default filters will optionally remove the following files:

	1. "bin" directory
	2. "obj" directory
	3. "Debug" directory
	4. "Release" directory
	5. "Backup" directory
	6. "_UpgradeReport_Files" directory
	7. *.pdb, *.ncb, *.ilk, *.suo  files
	8. setting*.xml, connection*.xml
	
I did a google search and found Leonardo Paneque's program "Solution Cleaner" which covers most of my requirements.

	Leonardo Paneque "Solution Cleaner"
	http://www.teknowmagic.net/

The problems with "Solution Cleaner"

	1. The filter rules are fixed
	2. The rules don't clean all of the Visual Studio 2008 auxilary files
	3. The file list cannot be sorted
	4. The file list cannot be exported
	5. The User Interface cannot be resized  (I hate programs which don't resize)
	6. Does not remove directories

The good news with "Solution Cleaner"

	1. The program does solve most of the problem of finding files and deleting them.
	2. The author provides the source code (I love source code).

While I was googling, I also found Wise Cleaner.
 
	http://www.wisecleaner.com/

Wise cleaner supported custom rules and has some nice features, but I had problems trying to select and deselect files 
from the final list and quickly gave up and decide to write my own using Solution Cleaner as a starting point.

VStudio has the following features:

	1. Built-in filters to remove files and directories (including subdirectories)
	2. Ability to add custom filters
	3. Ability to bookmark filter settings and search paths
	4. Save/Restore settings to/from registry  (I am not a big fan of Windows registry but it is a common way to saving settings)
	5. All dialogs can be resized and the main dialog has a sash to resize the panels.
	6. All list dialogs support column sorting
	7. All list dialogs can export to CSV file
	8. The 'located' list can contain both files and directories
	9. Right click on 'located' files and you can launch DOS cmd.exe, or windows Explorer





By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Dennis Lang
Software Developer (Senior) WSI
United States United States
30 years experience writing software.
I love C/C++ for its speed and power and C#/Visual Studio for quick application development.
 
Unix/Linux is my favorite OS

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 18 Dec 2011
Article Copyright 2009 by Dennis Lang
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid