# Team Foundation Latest Version Number Exception: Path does not exist

**URL:** https://www.finalbuilder.com/forums/t/team-foundation-latest-version-number-exception-path-does-not-exist/1675
**Category:** Discussion
**Created:** [December 28, 2010, 1:06am UTC](https://www.finalbuilder.com/forums/t/team-foundation-latest-version-number-exception-path-does-not-exist/1675 "2010-12-28T01:06:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [December 28, 2010, 1:06am UTC](https://www.finalbuilder.com/forums/t/team-foundation-latest-version-number-exception-path-does-not-exist/1675/1 "2010-12-28T01:06:25Z")

</div>

Hi,

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

Is there anything that I am missing with this action?

&nbsp;

Thanks,

Zvonko  
&nbsp;

-----

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

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 3, 2011, 11:37am UTC](https://www.finalbuilder.com/forums/t/team-foundation-latest-version-number-exception-path-does-not-exist/1675/2 "2011-01-03T11:37:38Z")

</div>

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
