Retrieve current ChangeSet (TfsVersion?)

Jul 9, 2008 at 10:30 AM
How can I retrieve the ChangeSet number of the current build?

I have read an article from Richard Banks but the lack of documentation on the task TfsVersion is preventing me from adapting the example to my needs.

In particular, Richard refers to the property $(CCNetWorkingDirectory) which probably applies only in a CruiseControl scenario.

Jul 9, 2008 at 12:21 PM

The TFSVersion task is not part of the SDC Tasks Library. You can find the task here:
An easier alternative to versioning can be found here:!EC3C8F2028D842D5!404.entry