Sunday, June 24, 2012

BTDF–Use a different binding for Test as Dev

 

The BizTalk Deployment Framework utilizes MSBuild and is therefore highly flexible. In case you wan’t to use FILE ports in DEV and an entirely different protocol in TEST you have 2 options:

1) Use Macros and leverage the XmlPreprocess and Masterbindings functionality

2) Override the Portbindings/PortbindingsMaster MSBuild property.

I will show you how to realize option #2

Configure the binding file in the BTDF Settings file

image

Configure the BTDF Project

       </PropertyGroup>

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

              <PortBindings>$(Portbindings)</PortBindings>

              <OutputPath>bin\debug\</OutputPath>

              <DeployPDBsToGac>false</DeployPDBsToGac>

       </PropertyGroup>

 

 

 

HTH,

Sander

1 comment:

Anonymous said...

This does not work. You have limited information on how to get this working.