This is a mirror of official site: http://jasper-net.blogspot.com/

Project Packager Add-In for Visual Studio 2010

| Tuesday, April 13, 2010
This Add-In for Visual Studio 2010 will package up your solution (actually, any folder you choose) into a zip file excluding any files with extensions you specify and any folders whose names you specify.I cant upload msi files to this blog, so in order to install you will need to build the project.

I packaged up the Add-In solution using the Add-In itself and uploaded it here.

  1. Download the solution, open with Visual Studio 2010 and Build All.
  2. Right click the setup project and select Install.
  3. Close Visual Studio 2010 and restart.
  4. In the Tools menu item –> Add-in Manager click the PackagerAddIn check box.

To use the Add-In, go to Tools –> PackagerAddIn
Motivation

After completing a project, either as a demo in class, or for a customer, I often need to zip up a solution send it by email or store it somewhere.

But even simple projects with Visual Studio 2010 create many binary files that increase the size of the package and contribute nothing to the recipient. Moreover, the baggage, once delivered is usually never deleted for fear that it is essential to to the solution. Once added to the source code control system it will slow down every check out and build for life. Moreover, it makes the project unnecessarily daunting for less experienced developers to learn.

I have tried using "Clean Solution" from the Build menu to remove the baggage, and, yes, it kinda works. But it is not quite as flexible as I need. For instance, though you can configure which file extensions will be deleted, you can't configure it to delete folders even if they are empty after the clean. "Clean Solution" also wont zip up the solution for you when you are done.

Rather than delete the files myself, and run the risk of deleting something important, I would like to copy all the important files without the baggage to a separate location, then zip up that folder and then delete the folder. This way, even if I forget an important file in the process, the original still exists and can be added.

Read more: David Sackstein's Blog

Posted via email from jasper22's posterous

0 comments: