问题描述
我正在将TFS添加到Visual Studio Code IDE(1.42.0),因为我已经安装了 Azure Repos
扩展程序.
I am adding TFS to Visual Studio Code IDE(1.42.0) for that I have installed Azure Repos
extension.
在VS代码中,当我输入路径 C:\ Program Files(x86)\时,在
. File-> Preference->> Setting-> Tfvc:Location
的VS代码中Microsoft Visual Studio \ 2017 \ Professional \ Common7 \ IDE \ CommonExtensions \ Microsoft \ TeamFoundation \ Team Explorer \ tf.exe
In VS code at File-->Preference-->Setting-->Tfvc:Location
, when I am entering path C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\tf.exe
.
遇到错误
我该如何解决这个问题?
How can I solve this issue?
安装 Azure Repos 扩展程序后,我在tfvc:Location(对于用户"和工作区"两个选项卡)中都在路径上方输入,但是输入路径后没有任何反应.检查以下屏幕截图
Edit 1: After installing Azure Repos extension, I am entering above path in tfvc:Location(for both tabs User and Workspace), but after entering path nothing happens. Check below screenshot
Edit2:现在,在VS代码IDE中,我在下面显示此错误
Now I am getting this error at right below in VS code IDE
推荐答案
确保已在计算机上安装了VS.通过典型安装的Visual Studio,可在 Program Files(x86)
文件夹下找到Windows版本的TFVC命令行客户端(tf.exe).通常将其放置在类似于 C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ TF.exe
的位置.在Visual Studio Community 2017版上,可以在类似于 C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ Common7 \ IDE \ CommonExtensions \ Microsoft \ TeamFoundation \ Team Explorer的位置找到它\ TF.exe
.
Make sure you have installed VS on your computer. With a typical installation of Visual Studio, the Windows version of the TFVC command line client (tf.exe) is available under the Program Files (x86)
folder. It will typically be placed in a location similar to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe
. On the 2017 version of Visual Studio Community, it can be found in a location similar to C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TF.exe
.
这篇关于将tfs添加到VSCode时找不到TF可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!