40

I have Windows 7 Professional x64. I have Visual Studio 2010 Premium and Visual Studio 2012 Premium installed on my machine.

I installed TFS Power Tools Decemeber 2011. I restarted my computer after successful installation. I then checked out a folder from TFS 2010 but the TFS menu items in Windows Explorer context menu do not appear when i right click on the folder.

I even reinstalled it by uinstalling it, restarting the pc and installing it again then restarting it again but same issue.

I have followed the instructions outlined in here: TFS Power Tools: Shell Extension : Context Menu Quirky and TFS Icons on Files/Folders missing

But same issue same issue occurs. Would anyone know what else i can do to get the TFS menu items to appear in the context menu please?

Thanks in advance,

Community
  • 1
  • 1
KI1
  • 907
  • 1
  • 13
  • 31
  • I have the exact same problem with the environment you specified. I believe there is a problem with the TfsShellExt.dll file and registry entries not being made. I think if we install an older version, the need registry entries will be made, then we can install the last release. – AMissico Jun 15 '13 at 05:27
  • Can you check you have a HKCR\Directory\Background\shellex\ContextMenuHandlers\TFSContextMenu key and a HKCR\AllFileSystemObjects\shellex\ContextMenuHandlers\TFSContextMenu key that points to a {DEF52C03-E6D8-4b47-BD08-DF416EF3E950} guid? – Simon Mourier Jun 15 '13 at 11:09
  • @SimonMourier-I checked the keys, each have the correct GUID. Yet, the GUID are not in the registry. I found the GUID's on another machine in the CLSID section. I then exported those keys and imported into other computer, with no luck. Note, that the other computer, which once displayed the icons, no longer does so. – AMissico Jun 17 '13 at 13:42
  • @KP1, Does Windows Explorer context menu show "Team Foundation Server" or not? In my case, TFS was visible in windows Explorer context menu but unable to connect by default. – Pranav Singh Jun 20 '13 at 13:13
  • I haven't been about to get them working, no matter what instructions I follow, nor based on my extensive personal computer and Windows knowledge. Then one day last week, I created a workspace on another drive, and the icons showed up. I clicked the refresh button and they disappeared. Yet, the icon still shows for the workspace's root folder. – AMissico Nov 25 '14 at 22:05
  • I use `SUBST A:\ C:\DEV_\APP` for the numerous benefits working off the short path. It turns out that the icons do no show if I access the "A:\Ws_" folder, but do show if I access the "C:\DEV_\APP\Ws_" folder. – AMissico Apr 22 '15 at 22:56

7 Answers7

22

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

Also please take note that after installation this would not happen instantaneously as advised on this post: TFS Power Tools: Shell Extension : Context Menu Quirky and TFS Icons on Files/Folders missing

It sometimes takes a while for the TfsComProviderSvr.exe to check if the local folder is a workspace and register the shell extension.

So this depends on many variables, your TFS server speed, your machine speed and your network speed. In my case I left it overnight to fully show everything.

Community
  • 1
  • 1
Raymund
  • 7,684
  • 5
  • 45
  • 78
  • The answer depends on installing TFS Power Tools for 2012, which I am hesitate to do. – AMissico Jun 17 '13 at 22:19
  • Hi Amissico any reasons why you hesitate? IMHO installing an RTM is safer than changing registry entries. – Raymund Jun 17 '13 at 22:34
  • Because we don't have TFS 2012 and we are not using VS 2012 yet. I haven't read that it is okay to use – AMissico Jun 17 '13 at 22:38
  • 1
    Ahh oh I was under the premise that you are using VS2012 based on your comment above "I have the exact same problem with the environment you specified." Anyways I dont have TFS2012 as well and it works – Raymund Jun 17 '13 at 22:46
15

Windows has a limit on home many overlay icons it can support. This started happening to me after i installed google drive, one drive, and dropbox and the TFSOverlay got pushed down to the bottom in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer \ShellIconOverlayIdentifiers

You can fix it by either

  1. Uninstalling some of the overlay apps. (Eg: remove Google drive or Dropbox)
  2. Rename the TFS folders in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer \ShellIconOverlayIdentifiers to start with numbers so they take priority (Eg: "1TfsOverlayAdd" , "2TfsOverlayEdit" etc.).

Also there is usually a delay for the green icons to appear in the folder explorer, so be patient.

Alex Z
  • 1,362
  • 15
  • 16
5

I was having the same problem and just I executed this file:

C:\Program Files (x86)\Microsoft Team Foundation Server 2012 Power Tools\TfsComProviderSvr.exe

After a few minutes the menu appeared.

redcalx
  • 8,177
  • 4
  • 56
  • 105
davdomin
  • 1,219
  • 6
  • 18
  • 38
4

This problem also occurs when you are running Visual Studio under different credentials (i.e. an account with Administrator privileges) than the logged on user. Logging on as that same user displays the ShellExtension correctly. But that's just not an option here...

I have not yet found a solution. It would be a nice feature to be able to set some options for TfsComProviderSvr.exe, so that one can let it watch workspace folders for a different 'Team Member' than the logged on user...

I've tried running Explorer.exe with other credentials, but that does not spawn a new TfsComProviderSvr.exe. Starting it by hand with the different credentials also does not seem to work. An instance of TfsComProviderSvr.exe is always (re)spawned for the currently logged on user.

AroglDarthu
  • 1,021
  • 8
  • 17
  • I've the same issue here – freggel May 12 '15 at 11:18
  • 1
    I ended the "TfsComProviderSvr.exe" process, ended the "explorer.exe" process, and then started the "explorer.exe" (via Task Manager) and the TFS power tools functionality restored for me. This is much quick then a reboot. Note, in my scenario, I didn't have different-users-credentials. – granadaCoder May 09 '16 at 18:55
2

Forgive me for sharing the obvious, but I had a similar issue, and in my case it appears that the default selected installed features were different than I expected.

I reran the installer using "Modify" instead of "Repair" and confirmed that the Windows Shell Extension feature was selected for installation:

Setup Screenshot

I'm running a similar environment (VS 2010 Shell with VS 2013 Professional). Perhaps that impacts the defaults.

Here is the Power Tools Installer that I used.

Mac
  • 1,201
  • 2
  • 15
  • 28
1

I had a similar issue, I ripped off old the version, gave me some issues as you have to stop the TFS process and the explorer process but you can always restart explorer again once the old version has been uninstalled.

Bottom line, the latest version worked for me, did not have to fiddle with reg'values at all.

IbrarMumtaz
  • 4,235
  • 7
  • 44
  • 63
1

Here's how I fixed mine. I had installed Visual Studio 2015 and installed TFS Power Tools for VS 2015. I also installed Visual Studio 2017. I generally use VS 2017 and had attached to TFS there. I hadn't attached VS 2015 to TFS and the power tools menu would not show up in explorer. I finally realized that when they say you have to have the same version of Visual Studio installed that you ALSO have to have that visual studio Team Explorer connected to TFS. You don't have to use it beyond that, but it must be connected using the dialog, like you see here.

Connect to Team Foundation Server

Tom Faust
  • 1,385
  • 11
  • 11