How many times have you tried to upload or email your Visual Studio solution, only to find out that your zip file contains files and folders that you didn’t mean to include, like the bin, obj and other folders. What about source control bindings? Yes that too will get included.
Well I came across a great utility called Clean Project from Ron Jacobs that cleans your Visual Studio solutions so you can quickly upload or email.
This functionality is available inside Visual Studio and also from the Windows Shell.
You can install CleanProject from Tools –> Extensions Manager in Visual Studio. Then search for CleanProject. In the References section below I listed links to other locations you can download the project from.
Emailing A Solution
If you want to email your solution:
- Select Tools –> Clean, Remove Source Bindings and Zip Solution
- Attach the zip file to your email and send
Windows Shell Folder Command
You can also run CleanProject from the Windows Shell. Just right click the folder you want to clean and select Clean, Remove Source Binding and Zip Solution from the context menu.
Thanks Ron Jacobs for your hard work on this utility. I look forward to further enhancements and/or other tools in the future.