尽管安装了 TFS Power Tools,为什么 tfpt.exe 丢失? [英] Why tfpt.exe missing although TFS Power Tools installed?

查看:34
本文介绍了尽管安装了 TFS Power Tools,为什么 tfpt.exe 丢失?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 10 上使用 Visual Studio community 2017,我安装了 TFS power tools 2011、2013、2015(我读到以前的 Power Tools 已集成到 TFS 2017)但任何安装目录中都没有 tfpt.exe.

I am using Visual studio community 2017 on Windows 10, I installed TFS power tools 2011, 2013, 2015 (I read that previous Power Tools have been integrated into TFS 2017) but there are no tfpt.exe in any installation directory.

推荐答案

当您安装 Team Foundation Power Tools 时,它会警告您,但不会在未检测到所需的 Visual Studio 版本时阻止您.每个版本都很挑剔,因此 TFPT 2015 将需要 Visual Studio 2015,而 TFPT 2013 将需要您安装 Visual Studio 2013.

When you install Team Foundation Power Tools it will warn you, but won't block you when it doesn't detect the required version of Visual Studio. Each version is picky, so the TFPT 2015 will require Visual Studio 2015 and the TFPT 2013 will require you to install Visual Studio 2013.

只安装那个版本的 Team Explorer 应该就足够了,但如果安装程序仍然报错,你可能需要安装完整的 Visual Studio:

It should be sufficient to install the Team Explorer of that version only, but if the installer still complains, you may need to install the full Visual Studio:

没有办法强制安装.不幸的是,在许多情况下,添加 TeamFoundation Nuget 包的内容就足够了.

There is no way to force the installation. Which is unfortunate, as in many cases it's enough to add the contents of the TeamFoundation Nuget Packages.

成功安装电动工具后,应在以下位置找到tfpt.exe:

Upon successful installation of the power tools, including tfpt.exe should be found under:

C:\Program Files (x86)\Microsoft Team Foundation Server 2015 Power Tools\

如果您正在寻找 Undo Unchanged,那么您可能还对 TFS 源代码管理资源管理器扩展.它将 Undo-unchanged 添加到 Visual Studio 的 Pending Changes 窗口.自 2010 年以来,每个版本的 Visual Studio 都有可用的版本.

If you're looking for Undo Unchanged, then you may also be interested in the TFS Source Control Explorer Extensions. It adds Undo-unchanged to the Pending Changes window in Visual Studio. There are versions available for every version of Visual Studio since 2010.

您也可以考虑切换到本地工作区,它会自动检测文件何时恢复到其原始状态并自动将其标记为未更改.但是,您将失去锁定文件的能力.有些人讨厌这一点,对许多人来说,这是一种祝福.我会让你决定的.对我来说,这是以后切换到 Git 的一个很好的步骤.

You could also consider switching to a Local Workspace, it automatically detects when a file is returned to its original state and will automatically mark it as Unchanged. You will lose the ability to lock files though. Some people hate that, for many, it's a blessing. I'll let you decide. For me, it was a nice step-up to switching to Git later.

这篇关于尽管安装了 TFS Power Tools,为什么 tfpt.exe 丢失?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆