Is it possible to Export TFS 2010 Build Definitions?

南楼画角 提交于 2019-12-19 03:25:20

问题


I'm cleaning up old build definitions and I want to back them up in case there is something I'm missing, is there a way to export the build definitions using Visual Studio 2010?


回答1:


You could use the TFS API to export it to a format that you could load it back in with like in How to Move TFS 2010 Build Definition between Projects? .




回答2:


Team Foundation Power Tools commands has a command that will allow one to export/dump out a build definition to a text file.

From the Visual Studio command prompt:

C:\Program Files\Microsoft Visual Studio 10.0\VC>tfpt builddefinition /dump ProjectName\BuildDefinitionName /filepath:C:\filename.txt /collection:uri



来源:https://stackoverflow.com/questions/5107824/is-it-possible-to-export-tfs-2010-build-definitions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!