How many times have you wanted to send a project to a friend or upload it to a web site like MSDN Code Gallery only to find that your zip file has lots of stuff that you don't need to send in it making the file larger than it needs to be.
And then if you forget about removing Source Control bindings whoever gets your project will be prompted with errors about Source Control.
- bin folder
- obj folder
- TestResults folder
- Resharper folders
With Clean Project, I simply run it and get a nice clean folder or zip file that I can share without any of these issues ...
Building the Sample
This sample comes complete but it does have some dependencies which you may want to update with NuGet
To update a package, open the Package Manager Console and type
Open the solution and build it to get a tool you can use for cleaning projects
The best way to use CleanProject.exe is to run the CleanProject.msi installer.
The installer will add Clean Project to your external tools ...
If you're zipping and shipping VS Solution/Project folders, then this tool might come in handy for you...
Related Past Post XRef:
SolutionZipper - VS2005 Addin to Clean and Zip in One Step