Reputation: 81
I would like to add my Build Definitions to TFS Source Control. Is there anyway to do this?
Upvotes: 8
Views: 2035
Reputation: 18746
Another option via powershell
https://gist.github.com/jstangroome/6747950
which basically uses c# types so should be easy enough to make into a linqpad or c# console app (or winforms or wpf)
used assemblies
Upvotes: 0
Reputation: 25775
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
Upvotes: 8