Retrieve current ChangeSet (TfsVersion?)

Jul 9, 2008 at 11: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.

Thanks,
Paolo
Developer
Jul 9, 2008 at 1:21 PM

The TFSVersion task is not part of the SDC Tasks Library. You can find the task here: http://msbuildtasks.tigris.org/
An easier alternative to versioning can be found here: http://freetodev.spaces.live.com/blog/cns!EC3C8F2028D842D5!404.entry