如何从Windows Workflow的Release文件夹中为TFS Build过程创建自定义文件夹? [英] How to create custom folder from the release folder of Windows Work flow for TFS Build process?

查看:95
本文介绍了如何从Windows Workflow的Release文件夹中为TFS Build过程创建自定义文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用了

/ p:GenerateProjectSpecificOutputFolder = True为我的解决方案中的每个项目创建构建,现在我想根据需要定制文件夹结构。我们如何实现呢?

I have used the
/p:GenerateProjectSpecificOutputFolder=True for creating build for each and every project in my solution and now i wanted to customerize the folder structure on my needs. How can we achieve this?

输入图像这里的描述

推荐答案

如果您使用的是XAML构建,则可以通过修改以下内容在TFS Team Build中自定义Binaries文件夹构建过程模板。在博客以获取更多详细信息。

If you are using XAML build, you can customize Binaries folder in TFS Team Build by modifying the build process template. Adding CreateDirectory Activity and FindMatchingFiles activity are necessary, following this blog for more details.

如果您使用新的构建系统,则可以更轻松地管理工件。使用任务发布构建工件,您可以在任务中指定内容,也可以添加要管理工件的尽可能多的发布构建工件任务。有关更多详细信息,请检查 http://www.codewrecks.com/blog/index.php/2015/06/30/manage-artifacts-with-tfs-build-vnext/

If you use the new build system, that will be much easier to manage artifacts. With task Publish Build Artifacts, you can specify contents in the task, also you can add as many Publish Build Artifacts task as you want to manage artifacts. More details, check http://www.codewrecks.com/blog/index.php/2015/06/30/manage-artifacts-with-tfs-build-vnext/

这篇关于如何从Windows Workflow的Release文件夹中为TFS Build过程创建自定义文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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