Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to Export TFS 2010 Build Definitions?

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?

like image 356
rwoodford Avatar asked Feb 24 '11 16:02

rwoodford


People also ask

How do I export a build definition in TFS?

Once you install the extension, go to Builds hub and right-click on any build definition. You will see two new menu items - Export and Import. Right-click and click Export on the build definition you would like to export. You will be prompted to save the definition as a file.

What is build definition in TFS?

A build definition is the mechanism that controls how and when builds occur for team projects in TFS. Each build definition specifies: The things you want to build, like Visual Studio solution files or custom Microsoft Build Engine (MSBuild) project files.


1 Answers

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

like image 193
Kuraish Muhammad Avatar answered Sep 28 '22 19:09

Kuraish Muhammad