从 TFS Team Build 脚本获取 XML 文档文件
我在 TFS 环境中基于 http://geekswithblogs.net/jakob/archive/2009/03/05/implementing-dependency-replication-with-tfs-team-build.aspx。
这使用 CompilationOutputs
项目组来获取构建的 DLL 文件并将它们分支/合并到依赖项目中。我的问题是,CompilationOutputs
项组仅包含 DLL,并且我还想包含 XML 文档文件,以便在使用这些库时可以获得智能感知文档提示。是否有包含这些的不同项目组或不同的方法?我是否需要手动查找 xml 文件并将它们添加到项目组中?
我们现在使用的是 TFS 2010,所以如果有新的东西,我们可以尝试利用它(尽管如果我不必将整个方案转换为使用工作流程流程,那就太好了...)
I have a dependency replication scheme setup in our TFS environment based on http://geekswithblogs.net/jakob/archive/2009/03/05/implementing-dependency-replication-with-tfs-team-build.aspx.
This uses the CompilationOutputs
item group to get the built DLL files and branch/merge them into dependent projects. My problem is that the CompilationOutputs
item group only contains the DLLs, and I'd like to also include the XML documentation files, so I can get intellisense documentation tips when using these libraries. Is there a different item group that contains these, or a different approach? Do I need to manually find the xml files and add them to an item group?
We're on TFS 2010 now, so if there's something new there, we can try to take advantage of it (though it'd be nice if I didn't have to convert this whole scheme to use a Workflow process...)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您复制并签入输出的文章:
您不能在签入之前添加第二个复制行以使用元数据复制 xml 文件吗?
这是使用内联任务的另一个选项,该任务构建另一个项目组,更改扩展名,以便仅添加实际存在的文档文件:
According to the article you copy and checkin the outputs:
Couldn't you add a second copy line before the checkin to copy the xml files using the metadata?
Here is another option using an inline task that builds another item group changing the extension so that it only adds doc files that actually exist: