Microsoft TFS 如何显示在Windows 的上下文菜单中

How to showing in Windows Explorer context for TFS

I am not sure if this would help or you are willing to use a new version but I had the exact same environment and issue with you. 

What I had done is that I uninstalled the old TFS Power Tools ( listed with a "Microsoft Team Foundation Server" prefix and/or "Microsoft Visual Studio Team Foundation Server" in Control-Panel/Programs-and-Features ) and install a newer version which is RTM.  You can download them at http://www.microsoft.com/en-nz/download/details.aspx?id=35775 and install the following in the same order listed below

  1. Team Foundation Server 2012 RTM Power Tools.msi
  2. Visual Studio Team Foundation Server 2012 Update 1 Power Tools.msi
  3. Visual Studio Team Foundation Server 2012 Update 2 Power Tools.msi

Close Visual Studio before you start then restart after installing, you should see your context menu afterwards together with the green arrow that indicates it is in TFS

Here is a screenshot of it

enter image description here

 

 

Why am I not seeing the Icon Overlays in Shell Extensions TFS Power tools ?

This issue have been reported multiple times and I just wanted to get why it is happening out there:

  • Windows allows a maximum of 15 icon overlays in the system even Windows 7 (http://blogs.msdn.com/b/oldnewthing/archive/2009/12/09/9934348.aspx for more information on that and why)
  • So basically the shell respects the first 15 icon overlays in the system (sorted in alphabetical order)
  • To find the icon overlays in the system you can go to “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer \ShellIconOverlayIdentifiers” on your machine and figure out how many overlays are installed
  • If you have dropbox, groove or tortoise SVN installed the number of overlays intalled in the system will exceed 15. But windows will only respect the fist 15 in alphabetical order. We name our overlays “TfsOverlayAdd”, “TfsOverlayEdit” etc. and Tortoise SVN name their overlays “1TortoiseNormal”, “2TortoiseModified” etc. So alphabetically they come as top as possible in the list. And we usually end up being bumped down the list and thus a subset or all of overlays might not work if Tortoise SVN or drop box are installed.

To fix the problem using a hacky solution you can (Note: This is really a hacky solution and the product was not designed for this):

  1. Open the registry
  2. Go to : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer \ShellIconOverlayIdentifiers
  3. Rename our icon overlays to “1TfsOverlayAdd” , “2TfsOverlayEdit” etc. to bump us up the list
  4. Restart the machine or kill explorer.exe and restart it
posted @   iDEAAM  阅读(536)  评论(0编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
历史上的今天:
2010-07-13 反射----重载的方法
2009-07-13 下载文件(类似与<A href>)
点击右上角即可分享
微信分享提示