Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Can't find Team Foundation Server exe (https://www.kinook.com/Forum/showthread.php?t=3708)

jjkboswell 07-18-2008 08:59 AM

Can't find Team Foundation Server exe
 
I've got two build machines, and one of them happily finds tf.exe for my Team Foundation Server step, but the other doesn't (same script):
Unable to auto-locate Team Foundation command-line executable; specify the full executable path + filename on the Options tab

On the machine that succeeds to run the step, it outputs the following for the command it is calling...
"c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe"

And on the machine that if fails, tf.exe is in exactly the same folder.

I checked my global macros, and DEVSTUDIO_NET_DIR is correct ("c:\Program Files\Microsoft Visual Studio 9.0")

So how does VBPro auto-locate the exe and why is it not finding it? What am I missing on one machine but not the other?

James

kinook 07-18-2008 02:14 PM

The Team Foundation action locates the path for tf.exe by looking for the registry value

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \9.0\InstallDir

(actually looking for various versions). Apparently, it is not finding that registry entry on the problem machine.

jjkboswell 07-21-2008 03:45 AM

Any ideas why VisBuildPro wouldn't find that registry entry, because it's there in my build machine's registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \9.0]
"InstallDir"="C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\"

and the "tf.exe" file exists in that folder.

Indeed, if I enter the full path to the tf.exe file in the build item's Options tab, the step works fine.

James

kinook 07-21-2008 07:43 AM

Which version of VBP are you running (Help | About | Install Info)?

jjkboswell 07-21-2008 08:11 AM

6.2a

I ran the same script on an eval of the 6.2a on another machine (my development machine) to see what happened, and that too fails to find the TF.exe, except this time gave a different error:
Failed to create process: The system cannot find the file specified.

Our build machine is a VMware image of Windows 2003 Server R2, and my development machine is XP SP2.

James

kinook 07-21-2008 08:18 AM

v6.2a didn't support VS 2008; v6.7 does.


All times are GMT -5. The time now is 07:29 AM.


Copyright © 1999-2023 Kinook Software, Inc.