Use deployment framework to import multiple bindings

The healthcare project I am in requires a one way send port for acknoledgement handling, it in turn requires a one way receive port to pre-exisit for deployment. So when using the deployment framework, I cannot put together the send port and receive port together in one file. Even worse, the receive port has to create first before send port can get created. The btdf out of box does not support this. By a quick edit for the msbuild project, adding the following line in ‘ImportBindings’ action, this get resolved.

<Exec Command=”BTSTask.exe ImportBindings -Source:&quot;$(MSBuildProjectDirectory)\MyReceivePortBinding.xml&quot; -ApplicationName:&quot;$(BizTalkAppName)&quot;” />

Oh, you have to include it in the CustRedist for adding it to the msi package.