Jeremy Stein
Jeremy Stein

Reputation: 19651

Use msbuild to deploy BizTalk 2009 project

When I run msbuild on my BizTalk 2009 .btproj file, the default targets execute and the project is built.

Is there a target I can invoke to deploy the project?

Upvotes: 1

Views: 768

Answers (2)

Maxime Labelle
Maxime Labelle

Reputation: 3639

Unfortunately no, there is not.

However this would probably be useless because as soon as you got solutions that consist in multiple modular projects and solutions, there would not be an easy way to manage the dependencies between them.

Instead, you might be better off investing some time to setup a proper deployment infrastructure. As Thomas suggests, you shoud have a look at the extensive Deployment Framework for BizTalk on CodePlex that covers just about any requirements you might want to address with BizTalk.

If that seems too intimidating, I suggest you build a simple deployment framework using msbuild. It is actually quite simple and straightforward to do. building the individual projects would be a breeze because you would invoke the standard targets from the .btproj files. Other tasks, such as deploying, could be written simply by calling the builtin BtsTask command-line utility.

A lot of third-party tasks are available to help deal with BizTalk projects.

Please, have a look at this post on my blog for more informations.

Upvotes: 2

Thomas F. Abraham
Thomas F. Abraham

Reputation: 2152

There is no reason today to create your own deployment tools for BizTalk from scratch. Please take a look at the Deployment Framework for BizTalk at http://biztalkdeployment.codeplex.com. It covers simple to complex deployment scenarios, and also includes configuration management and developer productivity tools for BizTalk.

Upvotes: 3

Related Questions