I need to automate The BizTalk deployment process for my current client. Surprisely, the BizTalk project file created by VS.net 2005 and 2008 doesn’t work with MsBuild. Although Scott Colestock developed a framework to deploy BizTalk using Nant, I really like a solution to MsBuild BizTalk projects.
There are a few solutions discussed and developed by a few folks. The SDC Tasks Library
is very close to what I need as long as it works as it claims. One of great examples comes from Stephen Thomas’s blog. He used this task library ( Please not the original library is not available from GotDotNet web site ) to demonstrate that it possible to stop and remove a BizTalk application, create receive and send ports, start BizTalk application etc. using MsBuild customized tasks. One thing that doesn’t work in his example is to import a binding file although he can create send/receive ports. I got a workaround solution using BTSTask. I replaced the ImportBinding target with the following XML and successfully imported the binding file.
<Target
Name=“ImportBinding“ >
<Exec
Command =‘“$(BTSInstallLocation)\BTSTask” ImportBindings /ApplicationName:$(BTApplicationName) /Source:c:\SampleDeployment\Binding\Binding.xml‘/>
</Target>
Hi Leo,
I am new to MSBuild, could you please share your thoughts on how you create MSbuild Xml files for BizTalk deployment.
Thanks,
Gokul