Issue in adding reference of one BizTalk Application to another

Oct 7, 2008 at 7:10 AM

Am trying to create build scripts using BizTalk MsBuild Generator. The solution for which the scripts have to be generated, has references to other Biztalk applications. When I generate the scripts, I can build and deploy the Biztalk application. But, I am not able to add the reference of other BizTalk applications using the scripts.

For example, scripts are getting generated for a solution containing BizTalkApplicationA and BizTalkApplicationA is referring to BizTalkApplicationB.
I will be able to build and deploy BizTalkApplicationA using scripts but the reference to BizTalkApplicationB cannot be added through the scripts. Due to which the BTSTask ImportBindings gets failed.

Please let me know how to resolve this reference issue.

Oct 29, 2008 at 11:47 AM
Edited Oct 29, 2008 at 11:52 AM
Hi Ritika

I have added a class to the BizTalk.BuildGenerator.Tasks project to suppor the additon of a reference from one BizTalk application to another. This also required a new method to be added to the BtsCatalogExplorerHelper.cs. The method may be called from an MSBuild script in the same way as StopApplication, the only difference being that and additional parameter is required to identify the Referenced Application, eg:

<BizTalk.BuildGenerator.Tasks.AddReference MessageBoxConnection="$(BizTalkManagementDatabaseConnectionString)" ApplicationName="SourceApplication" ReferencedApplicationName="ReferencedApplication"/>

I have uploaded the code changes to the "Patches" area which you can find under "Source Code" tab of this CodePlex site.