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.

Getting Started

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.

sshot-278

Emailing A Solution

If you want to email your solution:

  1. Select Tools –> Clean, Remove Source Bindings and Zip Solution
  2. Attach the zip file to your email and send

CleanProjVS

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.

sshot-279

Resources

 

Thanks Ron Jacobs for your hard work on this utility. I look forward to further enhancements and/or other tools in the future.

Posted by Callon Campbell [MVP]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s