Search code examples
tfsbuildversioningchangeset

Use TFS Changeset in Version Number


I have seen 'tf changeset /latest /i' referenced as an answer in getting the latest changeset version number to use in the msbuild version number but can't find any further information on where that gets placed? I am using VS2010 and TFS2010 and am attempting to use changeset instead of version number.

Any help?


Solution

  • If you are using MSBuild have a look at my blog post on how to do it (TFS2008 but applicable to 2010).

    If you are using workflows then you want this blog post instead.

    Hope that helps :-)