Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Documentation: Location of TF.exe for Visual Studio 2017 install #269

Closed
stephen-nba opened this issue Jun 28, 2017 · 3 comments
Closed

Comments

@stephen-nba
Copy link

The documentation currently states:

"If you plan to use the TFVC command line provided by the Visual Studio IDE, the value to provide will be similar to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe"

Which is for Visual Studio 2015. I have Visual Studio 2017, and the location is actually

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TF.exe"

Which is quite different. Maybe the documentation could include help for Visual Studio 2017 as well?

@dsolodow
Copy link

Part of the issue is that the path to tf.exe isn't consistent; it varies based on version and edition of Visual Studio.

However, I may have a good solution. :)
When you install Visual Studio, it creates a Start Menu shortcut called "Developer Command Prompt for VS YEAR" where YEAR is 2015, 2017, etc.
If you launch that, and then at that prompt run where tf.exe it will give you the full path to it that you can then put into the settings.json.

@stephen-nba
Copy link
Author

I just gave it a go and it worked well.

You could list all the possible locations for each version and edition but it would soon get out of date, so this would be a better tip to include in the documentation.

@jeffyoung
Copy link
Contributor

Resolved in 1.119.1 (I updated the TFVC README file with this information).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants