[英]How to configure multiple project in Team Build 2015
How to configure multiple project in Team Build 2015 (using the new task based workflow, not the old XAML builds). 如何在Team Build 2015中配置多个项目(使用基于任务的新工作流,而不是旧的XAML构建)。
Right now I see only one solution can be configured for Visual Studio build task. 现在我看到只能为Visual Studio构建任务配置一个解决方案。
You can easily add more than one build task that explicitly calls a single solution. 您可以轻松添加多个显式调用单个解决方案的构建任务。 That will also allow you to control the order that they get built.
这也将允许您控制它们构建的顺序。
Just select "Visual Studio Build" from the sea list. 只需从海名单中选择“Visual Studio Build”即可。 This works in Visual Studio Online and TFS 2015.
这适用于Visual Studio Online和TFS 2015。
As others have mentioned there are multiple ways to accomplish this: 正如其他人提到的,有多种方法可以实现这一目标:
Use the wildcard solution to find all solutions **/*.sln
will build all solutions in the workspace. 使用通配符解决方案查找所有解决方案
**/*.sln
将在工作区中构建所有解决方案。
Use ;
使用
;
to combine multiple search patterns: **/abc.sln;**/xyz.sln
组合多种搜索模式:
**/abc.sln;**/xyz.sln
Create a custom msbuild file (eg buildprojects.proj
) which in turns invokes the msbuild to build each solution you wan to build. 创建一个自定义的msbuild文件(例如
buildprojects.proj
),该文件又调用msbuild来构建您要构建的每个解决方案。 Configure the task in the workflow to call teh .proj
file instead of the specific solutions. 在工作流中配置任务以调用teh
.proj
文件而不是特定的解决方案。
You can enter a pattern. 您可以输入模式。 The default for the Visual Studio template is **/*.sln, which will recursively match on all .sln files in the repository/workspace.
Visual Studio模板的默认值为** / * .sln,它将在存储库/工作空间中的所有.sln文件上递归匹配。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.