TFS:构建具有多种配置的解决方案 [英] TFS: Building solutions with multiple configurations

查看:130
本文介绍了TFS:构建具有多种配置的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:在TFS 2013上,我必须构建300多个项目(C#和VC ++),分为大约40个解决方案.某些项目具有多个Release和Debug配置,例如,一个项目可能具有3个Release配置,例如Release 1,Release 2,Release 3 | x86,Release 4 | x64等.

Scenario: On TFS 2013, I have to build 300+ projects (C# and VC++), divided among, around 40 solutions. Some projects have multiple Release and Debug configurations e.g one project may have 3 Release configurations like Release 1, Release 2, Release 3|x86, Release 4|x64 etc.

要求:我正在尝试找到TFS功能来构建具有发布配置的解决方案,它应该检测添加到该解决方案的项目中指定的所有发布配置,并构建所有配置. (与调试相同).

Requirement: I'm trying to find TFS feature to build a solution with Release configuration, it should detect all the Release Configurations specified in projects added to that solution, and build all configurations. (Same for Debug).

问题:如果此功能不是内置功能,并且我必须为这些功能自定义TFS构建定义,我应该在哪里添加这些功能?

Question: If this functionality is not built-in and I have to customize TFS Build Definition for these, where should I add these?

推荐答案

在构建定义中,您可以指定要构建的平台和配置.打开构建定义,转到进程"选项卡.

In the build definition you can specify the platforms and configurations you want to build. Open the build definition, goto the process tab.

在其中输入要构建的解决方案的地方是配置"部分(02.Build on 2013),您可以在其中输入要构建的配置.

where you enter the solution to build there is the configurations section (02. Build on 2013) here you can enter your configurations to build.

这篇关于TFS:构建具有多种配置的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆