Team Foundation Latest Version Number Exception: Path does not exist

Hi,

When I run the "Team Foundation Latest Version Number" action, I get the "Path does not exist exception", however there is no information about the missing path. I'm attaching the action's property value list and exception. The build script is being run via TFS build.

Is there anything that I am missing with this action?

 

Thanks,

Zvonko
 

-----

     [Team Foundation Latest Version Number[ C:\Builds\1\Sprocket\[FB] Test\Sources\Source ]]
        
         ActionComment =
         CustomActionName = Team Foundation Latest Version Number
         Enabled = True
         EnableTimeout = False
         ExpandActionLogTitle = True
         HideActionFromLog = False
         IgnoreFailure = False
         ImpersonateUser = False
         ImpersonateUserName =
         LogActionProperties = True
         LogToVariable =
         MaxRetryAttempts = 0
         PauseInterval = 0
         RetryPauseInterval = 1000
         SuppressStatusMessages = False
         TerminateOnTimeout = True
         TimeoutLength = 2
       Error executing Action : System.Exception: The specified path:  does not exist.
    at VSoft.TeamFoundation.SourceControl.BaseAction.GetExecutablePath(IPropertyStore properties)
    at VSoft.TeamFoundation.SourceControl.BaseAction.GetExecutablePath(ICustomActionExecuteContext Context)
       Source     : TFSourceControl
       StackTrace :    at VSoft.TeamFoundation.SourceControl.BaseAction.GetExecutablePath(IPropertyStore properties)
    at VSoft.TeamFoundation.SourceControl.BaseAction.GetExecutablePath(ICustomActionExecuteContext Context)
    

Hi Zvonko,
I looks like the path to the ‘tf’ executable isn’t set. On your build server, can you please open FinalBuilder and go to Tools -> Options -> Version Control Systems -> Team Foundation Source Control. This should force FinalBuilder to populate the ‘Path to executable’ value with something like c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe

Cheers,

Ben