Upgrading from V5.0 Pre-Release

Introduction ››
Parent Previous Next

Updating Prerelease Deployment Project Files

Deployment project files created in any version of the Deployment Framework prior to V5.0 RTW require a few modifications.


Native support for Team Build was added after publication of the final release candidate of Deployment Framework for BizTalk 5.0.


1. Update the DefaultTargets attribute

In the Project element, change the DefaultTargets attribute value to Installer.


<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer">


2. Update the OutputPath elements in the default Debug and Release configuration PropertyGroup's

In the two PropertyGroup elements that are conditional on the Debug and Release configurations, replace the OutputPath element with two lines that are conditional on the property TeamBuildOutDir.  The following example includes the new OutputPath elements.  You may already have other elements mixed in with them, so just replace your two existing OutputPath elements with the four shown below.


 <PropertyGroup Condition="'$(Configuration)' == 'Debug'">

   <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>

   <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>

   <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>

   <!-- Get our PDBs into the GAC so we get file/line number information in stack traces. -->

   <DeployPDBsToGac>false</DeployPDBsToGac>

 </PropertyGroup>

 <PropertyGroup Condition="'$(Configuration)' == 'Release'">

   <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>

   <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>

   <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>

   <!-- Get our PDBs into the GAC so we get file/line number information in stack traces. -->

   <DeployPDBsToGac>false</DeployPDBsToGac>

 </PropertyGroup>


For further reference, the Deployment Framework for BizTalk sample applications already include the correct configuration for Team Build.


3. Add ToolsVersion attribute for BizTalk Server 2010

If you are using BizTalk Server 2010 (only), add the ToolsVersion attribute to the Project element.


<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">


Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation