为特定项目自定义构建构建输出 [英] Customise Build Build Output for Specific Projects

查看:37
本文介绍了为特定项目自定义构建构建输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个解决方案,其中包含 2 个 Windows 控制台项目、1 个网站项目和 20 个类库.

我希望 TFS 2013 仅将 Windows 控制台和网站项目推送到放置文件夹.

我正在寻找类似于下面的文件夹结构.

DropFolder- 应用1- 应用程序2- 网站1

如何配置 TFS 以允许这样做的最佳方式?

谢谢

更新

我最终使用了 nuget 包 控制您的构建流程.

更新:

I have a solution which contains a number of 2 windows console projects, 1 website project and 20 class libraries.

I want TFS 2013 to push to the drop folder only the windows console and website projects to the drop folder.

I am looking for a folder structure similar to below.

DropFolder
    - App1
    - App2
    - Website1

How is the best way to configure TFS to allow this?

Thanks

UPDATE

I have ended up using the nuget package http://www.nuget.org/packages/PublishedApplications for all the projects that I want to be published. This copies the projects into a _PublishedApplications folder. So that I have a folder structure like this

DropFolder
    _PublishedApplications
        - App1
        - App2
    _PublishedWebsites
        - Website1

解决方案

  • The default template has Solution Specific Build Outputs property under Process tab Advanced section.

  • Alternatively you can let MSBuild control your build flow.

Update:

这篇关于为特定项目自定义构建构建输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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