Question

The default configuration of the Team Build Number Format is:

$(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r)

It drops all output to \\foo\bar\MyBuildDef_20111031.1 Great stuff so far!

The small problem is that it drops all binaries in that directory without a good indication of the dependencies of the binaries.

TFS drop files

How can you modify this property, or otherwise, to have the solution's binaries dropped in their respective project directories?

In the case above, I had expected the MVC website (complete with its bin directory) to be dropped. Instead, we got that PLUS the extra drop of the binaries in the root.

In other words: TFS, please stop dropping all binaries in the root; it looks messy, and it's confusing on which files belong/associated with what.

How can this be achieved with Team Build 2010?

Was it helpful?

Solution

This blog post should help you out: http://blogs.msdn.com/b/willbar/archive/2011/02/05/splitting-team-build-outputs-into-folders.aspx

Essentially, you create a new 'Platform' for each project. Team Build will put each platform in a different directory by default, so you get a different directory for each of your projects.

Build configuration dialog:

Build Configuration dialog

Drop folder output: Build drop folder with separate folders

OTHER TIPS

Unfortunately I have not found a good way to do this yet, though it has been a while since I tried to find a better solution then what I settled on.

Current have solutions for each desktop application, and one with all the websites. I then followed the instructions here to make each solution output into a separate folder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top