问题描述
我有一个解决方案,其中包含 2 个 Windows 控制台项目、1 个网站项目和 20 个类库.
我希望 TFS 2013 仅将 Windows 控制台和网站项目推送到放置文件夹.
我正在寻找类似于下面的文件夹结构.
DropFolder- 应用1- 应用程序2- 网站1
如何配置 TFS 以允许这样做的最佳方式?
谢谢
更新
我最终使用了 nuget 包 控制您的构建流程.
更新:
- 最终的解决方案似乎是实现了 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:
- The ultimate solution seems implementing NuGet'sPublishedApplications
这篇关于为特定项目自定义构建构建输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!