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
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...