Is it possible to Export TFS 2010 Build Definitions?

前端 未结 2 1286
天涯浪人
天涯浪人 2021-01-05 21:24

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

相关标签:
2条回答
  • 2021-01-05 21:46

    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? .

    0 讨论(0)
  • 2021-01-05 22:02

    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

    0 讨论(0)
提交回复
热议问题