Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS Build Definition - Can you add this to source control?

Tags:

build

tfs

I would like to add my Build Definitions to TFS Source Control. Is there anyway to do this?

like image 481
Paula Avatar asked Aug 30 '11 17:08

Paula


People also ask

How do I add files to Source Control TFS?

Right-Click If you have the Content Explorer, Project Organizer, Pending Changes window pane, or File List open, right-click the file you want to add and select Source Control > Add.

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.

What does add to Source Control mean in Visual Studio?

"Add to Source Control" is shown when a solution or project or folder has not been opened - Visual Studio Feedback. Skip to main content. Skip to main content.


1 Answers

Not really, no. If you're trying to track changes to your build definitions, you can use a couple of new commands in the latest releast of the Team Foundation Power Tools. The first compares two build definitions:

tfpt builddefinition /diff 

This one exports a build definition's configuration to a text format, which you could then check into version control.

tfpt builddefinition /dump
like image 143
Jim Lamb Avatar answered Nov 08 '22 06:11

Jim Lamb