TFS Latest Version Number Reporting Wrong Version Number

We are switching from Subversion to TFS 2010 and I am experimenting with FB7 to see how to modify our existing build routines.

After changing a file and checking it in on another workstation I run a FB7 script which successfully performs a TFS Get to update the file in the workspace - I've checked the version numbers in Source Control Explorer and by actually opening the changed file.

However the script then does a TFS Latest Version Number which returns the previous version number, I have tried manually running "tf history * /noprompt /recursive" in a DOS box and this is returning the correct updated info.

If I restart FB7 and re-run the script (with or without the TFS Get enabled) it then reports the correct version number.

 

FB 7.0.0.1682 is installed on a Windows XP SP3 VM under HyperV on a Windows 2008 R2 Server with TFS 2010 installed in another VM.  I have installed Source Control Explorer locally on the XP VM (v10.0.30319.1 RTMRel).

Disclaimer: I'm a newbie to TFS and FB7 although I have been using previous versions of FB for several years.

 

 

Hi Mark

The Latest Version Number action just runs “tf history * /noprompt /recursive” and then parses the output using regex.

Can you post the full output from running that command on your system? I’m wondering if it has changed at all in any updates.

Scratch that, the action was not correctly resetting it’s state between executions, we’ve checked in a fix and will let you know when the new build is available.

Regards,
Paul.

Actuall it looks like a bug, some state is not being reset properly. I’ll post a link to a new build shortly.

Hi Mark

This build includes the fix :

https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1728.exe

I can confirm that the problem is fixed, excellent job guys and quality service.

Thanks.