Telling TeamBuild to get and build an older version/changeset
In Team Build 2008 there is a property called GetVersion. Here’s what the description from Aaron Hallberg’s blog says about it:
GetVersion. Passed to the Version property of the Get task. Defaults to SourceGetVersion (see below), but can be overridden to retrieve a particular version from source control.
To use this property to build a previous version of the source code you have three options:
Additional MSBuild Parameters dialog
Queue a new build and in the "Additional MSBuild Parameters" box, put:
/p:GetVersion=CXXXX
Where XXXX is the changeset you want to build. See screenshots here.
…”
I hate to say this, but I’ve been wondering about what, how, when and where to use the "Additional MSBuild Parameters" box when executing a build.
Well Grant has come to the rescue and provided a cool, and real world, example of using this field to tell TeamBuild to get an older/different changeset. I can totally see how this could come in handy.
No comments:
Post a Comment