AppFabric.tv - CleanProject - Cleans Visual Studio Solutions For Uploading or Email

Sign in to queue

Description

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.

Links

Ron Jacobs
http://www.ronjacobs.com
Twitter: @ronljacobs http://twitter.com/ronljacobs

Embed

Download

Download this episode

The Discussion

  • User profile image
    Andrew_​Morton

    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
    rojacobs

    @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 http://solzip.codeplex.com

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

Add Your 2 Cents