Thursday, August 03, 2006

BizTalk2006.Assembly.Deploy MsBuild Task

Today I realized how useful documentation is. I'm writing an MsBuild script to do an automated build and deploy of our BizTalk 2006 solution and I am using the Microsoft Services (UK) Enterprise Solutions Build Framework (SBF)

I had successfully deployed assemblies into BizTalk using the BizTalk2006.Assembly.Deploy class, but only into the defualt BizTalk application. I could not deploy my assemblies into a non-default application. I thought binding files may help, but they didn't. So as a last resort, I fired up the .NET reflector and had a look at the class I was using.

It turns out that the MsBuild task takes an Application attribute. Simple as that. It's just not in the documentation.

No comments: