TFS:构建具有多种配置的解决方案

编程入门 行业动态 更新时间:2024-10-27 05:35:28
本文介绍了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:构建具有多种配置的解决方案

本文发布于:2023-11-29 22:07:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1647764.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多种   解决方案   TFS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!