You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
"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
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.
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.
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?
The text was updated successfully, but these errors were encountered: