- CleanProject - Cleans Visual Studio Solutions For Uploading or Email

Download this episode

Download Video


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.

  • bin folder
  • obj folder
  • TestResults folder
  • Resharper folders

And then if you forget about removing Source Control bindings whoever gets your project will be prompted about that.  As someone who does this process a great deal I decided to share with you my code for cleaning a project.

In this episode, I'll share with you CleanProject, the utility I created to help me solve this problem.


Ron Jacobs
Twitter: @ronljacobs



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Neat. However, I was thinking that maybe /Y would be a better switch than /Q ? The same way copy and xcopy use it.

    • User profile image

      @Andrew_Morton:Good point... perhaps I'll add that

    • User profile image
      Jesper Niedermann

      Hi Ron, Nice tool. Many versions of it has been made by many people over the years including me :)

      But then back in 2009 I made an even better way for VS2008. A zipper called solzip that also removes source control bindings and packs your code in a convenient zip file by using a right click menu in the solution explorer. Extremely convenient.

      Inspired by your effort. I finally got around to updating it for VS2010. Thank you for that kick in the ... :)

      You can find it in the Extension Manager in VS2010 or at

      I also provide a commandline an even an edition for GAX factories.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.