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?
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With