If I'm using the TFS command line client is it always located @ <drive>:\Program Files\Microsoft Visual Studio 8\Common7\IDE? I'm referencing this page.
Asked
Active
Viewed 6,397 times
4 Answers
3
For reference only,My default location is
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
vs2010,win7,64 bit

Lei Yang
- 3,970
- 6
- 38
- 59
2
No it is not. E.g. on my machine it is under c:\VS10\Common7\IDE. You can use environment variables VS100COMNTOOLS (for VS 2010) and VS90COMNTOOLS (for VS 2008). The location of the tfs command line tools would be
"%VS100COMNTOOLS%\..\IDE\tf.exe"
-- for VS 2010
"%VS00COMNTOOLS%\..\IDE\tf.exe"
-- for VS 2008

seva titov
- 11,720
- 2
- 35
- 54
-
hmm, I don't have those in my default install of VS200(8?). I'm aware you can run a script to set them, but I'm looking for something that's there out of the box and is in a predictable location (like a script, the client itself, or an environment variable) – 213897 Mar 22 '11 at 18:14
-
tf.exe is only available if the Team Explorer client is installed on top of Visual Studio. In 2008 this was not part of the default install and you have to install it separately from the tfc folder on the Visual Studio 2008 Team Suite (or one of the Team editions), from the Team Foundation Server media or from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0ed12659-3d41-4420-bbb0-a46e51bfca86&displaylang=en – Martin Woodward Mar 22 '11 at 19:09
-
1How did you install VS? VS90CMNTOOLS variable is created automatically once you install VS 2008. It is in system environment block, which means it affects all users. – seva titov Mar 22 '11 at 19:55
1
In VS2008, tf.exe will be available under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

Jehan33
- 3,780
- 2
- 21
- 16