开发者

TFS command line client default location

开发者 https://www.devze.com 2023-02-19 13:22 出处:网络
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 t开发者_如何学编程his page. Nope, depends on VS

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 t开发者_如何学编程his page.


Nope, depends on VS version installed (and don't forget 64 bit machines too)


For reference only,My default location is
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
vs2010,win7,64 bit


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


In VS2008, tf.exe will be available under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号