如何强制我的TFS 2010 Build构建要在Debug或Release Mode中构建的解决方案中的所有项目? [英] How do I force my TFS 2010 Build to build all projects in the solution to be built in Debug or Release Mode?

查看:53
本文介绍了如何强制我的TFS 2010 Build构建要在Debug或Release Mode中构建的解决方案中的所有项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何强制我的TFS 2010 Build构建要使用调试或发布模式构建的解决方案中的所有项目.我希望将参数传递到工作流中.我需要使用MSBuild参数吗?

How do I force my TFS 2010 Build to build all projects in the solution to be built with Debug or Release Mode. I'm looking to pass in an Argument into the workflow. Do I need to use an MSBuild argument?

似乎很常见,但是我无法找到简单的方法来完成它.

Seems like a very common thing to do, but I'm not able to find a straight-forward way of getting it done.

推荐答案

(假设:您正在使用DefaultTemplate.xaml)

(Assumption: you are using the DefaultTemplate.xaml)

编辑构建定义时,您可以在屏幕左侧找到过程".打开要构建的项目"节点,然后修改要构建的配置.

When you edit the build definition, you can locate the Process at the left side of the screen. Open the Items to build node and modify the Configurations to Build.

这篇关于如何强制我的TFS 2010 Build构建要在Debug或Release Mode中构建的解决方案中的所有项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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