Posted by: rusteddev | May 4, 2010

TFS 2008 CustomizableOutputDir makes TeamBuild & BizTalk Deployment Framework work together

In our project we need to compile a set of projects (Biztalk and tests projects). We managed to get it compiled with tfs build quite straithforward using standard tfs build.proj file.

To deploy BizTalk generated apps we use BizTalk Deployment Framework (BTDF). It worked quite well using BTDF Visual Studio add in but failed when calling BTDF tasks from TFSBuild. The problem is the output dir were dlls are dropped. BTDF can’t find dlls generated by TFSBuild’s compile tasks and fails.

  • TeamBuild puts all generated dlls following the $(TeamBuildOutDir) variable. By default its the /Binaries subfolder.
  • BTDF just like Visual Studio compiles using project’s outputPath (by default /bin/Debug)

Thus, to make things work we used set the CustomizableOutputDir property to “true” in TFSBuild.proj solution to make BTDF use TeamBuild generated dlls.

A usefull link to better understand ouput directory structures  with VS and TFS :


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: