开发者

prevent Team Build dropping all binaries to the root of the drop folder

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.

prevent Team Build dropping all binaries to the root of the drop folder

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: 开发者_JAVA百科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?


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:

prevent Team Build dropping all binaries to the root of the drop folder

Drop folder output:

prevent Team Build dropping all binaries to the root of the drop folder


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜