I need to get the ChangeSetId in tfspreview for our continuous integration. I just need this single number nothing else. I tried all possible MSBuild tasks that I could find, but there is always another smaller issue stopping me.
For MSBuild.ExtensionPack.Tfs.TeamBuild I get :
Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
and for TfsClient -task in community-pack (which is generating following exec: tf.exe history . /StopAfter:1 /noprompt /format:detailed /recursive) I get:
The specified task executable could not be run. The system cannot find the file specified
My question is;
Is it possible to execute TF.exe on tfspreview server?
or can I get the assembly Microsoft.TeamFoundation.Client on the build server to execute one of these two tasks?