简体   繁体   English

如何强制我的TFS 2010 Build构建要在调试或发布模式下构建的解决方案中的所有项目?

[英]How do I force my TFS 2010 Build to build all projects in the solution to be built in Debug or Release Mode?

How do I force my TFS 2010 Build to build all projects in the solution to be built with Debug or Release Mode. 如何强制我的TFS 2010 Build构建要使用调试或发布模式构建的解决方案中的所有项目。 I'm looking to pass in an Argument into the workflow. 我希望将参数传递到工作流程中。 Do I need to use an MSBuild argument? 我需要使用MSBuild参数吗?

Seems like a very common thing to do, but I'm not able to find a straight-forward way of getting it done. 这似乎是一件很常见的事情,但我无法找到一种直接的方法来完成它。

(Assumption: you are using the DefaultTemplate.xaml) (假设:您正在使用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. 打开要构建的项目节点并修改要构建的配置。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在构建解决方案时,我可以强制Visual Studio(2010)执行“全部保存”吗? - Can I force Visual Studio (2010) to do a “Save All” when I build my solution? 如何在tfs 2010中构建多个依赖项项目 - How to build multiple dependency projects in tfs 2010 在 Visual Studio 2010 中,如何停止在每个现有构建配置中添加和构建新项目 - In Visual Studio 2010, how do I stop new projects being added & built in every existing build configuration 在VS2010中构建解决方案时,如何仅自动编译已更改的项目? - How can I automaticly compile only projects that have changed when I build my solution in VS2010? TFS 2010 Build - 我是否需要在TFS 2010 Build Server上安装Visual Studio 2010 - TFS 2010 Build - Do I need to install Visual Studio 2010 on TFS 2010 Build Server Visual Studio 2010:如何在解决方案中强制执行项目的构建顺序? - Visual Studio 2010: How to enforce build order of projects in a solution? 如何在TFS 2010的Build-Deploy-Test构建中运行许多单元测试? - How do I run many unit tests in Build-Deploy-Test build in TFS 2010? 如何一次构建调试和发布? - How can I build Debug and Release at once? 在Visual Studio 2010中,如何在“发布模式”下重建网站? 我找不到“释放模式” - In Visual Studio 2010, how do I rebuild my site in “release mode”? I can't find “release mode” 构建失败 - 在TFS2008上的VS2010解决方案 - Build failing - VS2010 solution on TFS2008
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM