(Update: The original download files were missing the PDB-to-GAC functionality I've discussed before. Please download again if you have already...)
The BizTalk Deployment Framework has been updated to work with BizTalk 2006...It is hard to believe that this project has been going on since May of 2004!
The Deployment Framework for BizTalk 2006 still has the same goals as the 2004 version:
BizTalk 2006 itself introduced quite a few features to make deployment easier, and can work fine for small (or solo) projects. Here are a few limitations I've encountered:
So! To get started with this version, download the Deployment Framework (Tools) zip and run the MakeBizTalkExternalTools_VS2005.vbs script. This will add entries to the Visual Studio tools menu for deploying and undeploying using the framework. You can download the full sample to see the framework in action (first build it, then do Tools-BizTalk Deploy. You'll see something like this.)
The high-level approach is the same as the 2004 framework - you supply a small project-specific NAnt script that indicates via properties what elements of a deployment your solution requires. You include BizTalkDeploymentInclude.nant to get all the core deployment functionality, and make sure the DeployTools directory is copied to your project. (Unzipping the Deployment Framework Core into your project is a good way to do this.) See the documentation for a more complete discussion.
The primary difference in the upgraded framework for BizTalk 2006 is that we now create a BizTalk Application definition, and use BTSTask to add all BizTalk artifacts as resources within that application. Starting and stopping the application is done at an application level rather than per port/per orchestration.
Packaging up your solution as an MSI can be done with the WiX-based scripts that have been in the framework for awhile, or by using the MSI export mechanism in BizTalk 2006, if you prefer. (The latter solution will require a few additional steps, and doesn't give you the parity described earlier. But it works if you need to go that route.)
Other Notes:
Leave comments with any questions/issues/etc. Enjoy!
Download: Full Sample, Framework Core, Tools Source , Docs
Scott Colestock lives, writes, and works as an independent consultant in the Twin Cities (Minneapolis, Minnesota) area.