Don't you like advertising? Neither do I...

...but CoolSoft is free, supported only by donations and a few (and non intrusive) banners.

Please add CoolSoft to your whitelist (click here to know how).

Thanks for your support.

 
 

SolutionBackup VisualStudio Addin

warning

Warning, JavaScript is disabled!

JavaScript is not available, maybe because you disabled it globally into your browser settings or you are using an addon like NoScript.

We do not have any dangerous JavaScript running here.
Please enable JavaScript; if you're using NoScript this image will help you adding CoolSoft to your whitelist.

Thanks for your comprehension and enjoy CoolSoft.

SolutionBackup

SolutionBackup is a VisualStudio® 2005/2008/2010/2012/2013 addin that creates a ZIP backup of your current solution or project.
The backup will contain only projects source files, excluding .DLL, .EXE, .OBJ, etc.

Creating a backup of current solution or project is easy, and it's done directly inside VisualStudio:

  • right-click on the solution and select "Backup solution..."
  • right-click on a project select "Backup project..."

SolutionBackup main dialog appears, showing the files that will be added to ZIP backup.
Just change destination folder and ZIP filename (if needed) and press Backup to start.

SolutionBackup

Compared to the creation of a standard ZIP of the solution folder, SolutionBackup has these pros:

  • SolutionBackup includes only source and embedded files of each project, required for its compilation;
    compiler generated files are excluded (EXE, DLL, OBJ, PDB, ILK, ...)
  • backup is created directly inside VisualStudio, no need to close it or stop your work
  • no need of external compression tools, like WinZip or WinRar

With SolutionBackup it's easy to create a backup of your solution on a regular basis or before starting a deep change, making it possible to undo all of the changes in one easy step.

Credits:
My thanks to icsharpcode.net guys for their great #ziplib library

.

Version history 

ver. 3.3.1  (2014-07-18)

  • Added a default value to "format" parameter of ${DATETIME[format]} filename macro, now is "yyyy.MM.dd-HH.mm.ss".
  • Changed default format of ${TIME} filename macro, now is "HH.mm.ss".

ver. 3.3.0  (2013-12-03)

  • Added support for VisualStudio 2013 (thanks to Stan for testing it)
  • Fixed 3.2.0 regression (debug message boxes appearing during backup)
  • Improved macro expansion speed

ver. 3.2.0  (2013-11-19) NOTE: removed due to a bug, a fix will be released soon

  • Added support for parametric macro expansion
  • New parametric macro $DATETIME[format] that returns n user formatted datetime value.
    "format" parameter could be any format string accepted by DateTime.ToString() method.
  • New parametric macro $ENVIRONMENT[variableName] that returns the value of an environment variable.
    Parameter "variableName" is the name of the variable to get.
  • Added support for BIDS (Business Intelligence Development Studio) SQLServer projects.

ver. 3.1.0  (2013-10-21)

  • Joined the two path+filename fields (used to compose output archive filename) into a single one, with support for macro expansion.
    Output filename can now be "$(USERPROFILE)\backups" or "$(SolutionDir)\backups\".
  • Fixed help context menu appearing when clicking "..." button
  • Fixed registry location where configuration is stored
  • Fixed adding window location when switching from dual-screen to single screen setup

ver. 3.0.1  (2013-10-07)

  • Fixed tab order of main addin dialog
  • Fixed a typo into completed messagebox

ver. 3.0.0  (2013-10-04)

  • Addin now supports VisualStudio 2005/2008/2010/2012
    VisualStudio.NET (2003) is no longer supported
  • Addin can now backup single projects too
    (by default VisualStudio hides solution if it contains only a single project).
  • Fixed an exception raised when backing up C++ projects (thanks to Frederick Wasti for reporting)
  • Fixed wrong date of files contained into ZIP archive (thanks to Frederick Wasti for reporting)
  • List of files included into ZIP archive is now sorted alphabetically
  • Changed font of files list to Courier
  • Changed setup environment from MSI to NSIS

ver. 2.0.0  (2008-06-17)

  • First .NET 2.0 version, targeting both VisualStudio 2005 and VisualStudio 2008

ver. 1.0.0  (2005-10-10)

  • After some positive feedbacks from my bug-testers, I decided to release first official 1.0 version.

ver. 0.9.4  (2005-08-01)

  • SolutionBackup now manages correctly projects which are outside solution-file folder. Projects on different drives cannot be backed up due to a ZIP file limit (can't store drive info within ZIP archive).
  • Runtime error reports "AutoZIP" as being the program which generates the error, now changed to "SolutionBackup" (damned Cut&Paste...).

ver. 0.9.3  (2005-07-09)

  • Each file existance is checked before adding it to file-list.
  • Added error handling when preparing EMail message.

ver. 0.9.2.1  (2005-07-08)

  • - file <projName>.<projExt>.user does not exist in VC++ projects, causing a runtime error during backup.
    (thanks to Glenn Symons for this bug report)

ver. 0.9.2  (2005-07-08)

  • Setup created with InnoSetup (--> 0.9.1) experienced some problems on certain conditions, giving COM errors and faulty COM registration.
    Setup is now created with WindowsInstaller. (thanks to Glenn Symons for this bug report)
     

Download

SolutionBackup_3.3.1.exe
Description Latest version
Release date 2014-Jul-18 Size 152,639 bytes
MD5 cf1fd31e98a319efc7797c5bb1f2310a
SHA1 396448a7c509a06c74a46e702a66d130da1b5687
SHA256 904803ee8eefe8755804319d8fe0d2074afbd33e428dc1db4084a9cd2de2f21b
Virus check Open virus check report
SolutionBackup_3.3.0.exe
Description Previous version
Release date 2013-Dec-03 Size 152,390 bytes
MD5 8d409aba6a625269a3330879acb08949
SHA1 4d0f45c906c2f90e150be64e3929a8e002c72da3
SHA256 b15c3246156199a6c6030d0043df02dd365d5caca31d57dadb09675f960e0c8d
SolutionBackup_2.0.0.zip
Description Last version supporting VisualStudio.NET 2003
Release date 2008-Jun-17 Size 592,575 bytes
MD5 7c3542178dc34de70592364b872de8be
SHA1 55ee03490d334374f79e6bab59701c909fe55a8c
SHA256 52d6c6f2186e43f6de22a33ffe2ec3ace384f190e8736a88133eebbd4503707a

Comments

This is a great little addin, it will keep my mind at rest when we have to make great changes to the legacy asp.net software we come accross frequently.

Thanks for letting me know.

Just released ver. 3.0 with some new features, support for VisualStudio 2010/2012 and a bunch of bug fixes.

Is there an option to add this in VS2013?

Paul

I don't have VS2013 to test it with, but it shouldn't be so different from previous versions.

If you could be so kind to do it for me, here you are the steps:

You have another VisualStudio supported version installed

  • install SolutionBackup addin
  • open folder \Visual Studio 20XX\Addins and copy SolutionBackup.Addin file to \Visual Studio 2013\Addins
  • the addin should now load in VisualStudio 2013 too
  • check if everything works as expected and give me a feedback

You don't have another VisualStudio supported version installed

  • we must "trick" setup to let it find VisualStudio 2012
  • check if this registry key exists (VS2013): HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VisualStudio.DTE.12.0
  • create the following registry key (VS2012): HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VisualStudio.DTE.11.0
  • install SolutionBackup addin
  • open folder \Visual Studio 2012\Addins and copy SolutionBackup.Addin file to \Visual Studio 2013\Addins
  • the addin should now load in VisualStudio 2013
  • delete registry key we previously created (VS2012)

Finally check if everything works as expected, give me a feedback and I'll update the setup procedure.

Thanks in advance.

 

I tried and it works fine with VS2013, I just added:

>
  >Microsoft Visual Studio>
  >12.0>
>

into SolutionBackup.Addin file.

ooops, you're right, I forgot that step ;)

Thanks for being smarter than me.
I just released a new version (3.3.0) supporting VisualStudio 2013 and fixing other bugs.

Thanks again

Without the ability to zip files outside of the solution directory, this program is useless.  If all the folders were in one directory, I could just zip it up from file explorer.

You're right, and that's your respectable opinion.

SolutionBackupAddin IS NOT meant to replace a code versioning system (like SVN, GIT, Mercurial to name a few).
Experienced coders (like me) will surely already use one of these well known softwares to keep their code under control.

SolutionBackupAddin is just a point-and-click tool, integrated into VisualStudio, that has some pros respect to the so called "explorer way".

  1. Zipping the whole project folder will surely work. BUT it will include a huge number of useless (these are really useless) files like *.bin, *.obj, *.ilk, *.pcb, *.ipch.
    I suppose you know what I'm talking about: in a small-mid size C++ project, using some APIs and system includes, the *.ipch intellisense database files could easily grow to 100Mb.
    Of course, you could exclude them from the created archive, but this is not a point-and-click solution; it requires a small batch file to execute, an exclude list to mantain and so on.
    And also, what if you exclude all *.dll but need to only include a third part library?
  2. You don't need to leave VisualStudio, just right click on a solution (or project) and press Enter twice.
  3. It's really easy to understand what's included and what's not: everything you can see in a solution (and it's not built by VisualStudio) will be included.

Finally I can't get what you mean with "the ability to zip files outside of the solution directory".
If you need to add an external file, just add it to the solution as an external linked file; that's really easy.
This way the generated ZIP will be "rooted" at the highest common path between the external file and the solution path.