문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top