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

Comments

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

Popular posts from this blog

Azure implementation guidelines

Focus and innovation - recap of the last 2 years

Setting up a build server with the BizTalk Deployment Framework