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?
Asked
Active
Viewed 3,757 times
2 Answers
4
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

Kuraish Muhammad
- 76
- 1
-
1There is another switch for the tfpt builddefinition which I found useful. /diff opened up my compare tool with text representations of the two build definitions that I had specified. tfpt builddefinition /diff
\ – Scott Munro Nov 22 '13 at 11:45\
3
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? .

Community
- 1
- 1

Sean Lynch
- 1,604
- 19
- 29
-
Dang! Yea, I haven't seen anything out of the box either - I was hoping there was, though. =\ – porusan Feb 24 '11 at 22:46
-
I had seen this other solution before but was hoping for something out of the box. Ah well now I know. – rwoodford Feb 25 '11 at 18:12