14

I'm working with Visual Studio 2012 and when I wanted to check in my pending changes (on TFS 2010), all of sudden VS loses its connection with TFS and says (on the Team Explorer window): "HTTP Code 404: not found". The option to check in (or to shelve) is disabled. When I try to refresh the source control explorer window, it briefly shows my folders, but then closes it again (saying it was disconnected with TFS). The funny thing is that I still can get the latest version from TFS and even see my pending changes, but when I try to check these in or shelve my pending changes, it loses the connection.

I tried looking for an answer on Google, but the only answer I found was clearing the TFS cache at C:\Users\\Local Settings\Application Data\Microsoft\Team Foundation\4.0\Cache or starting up VS with the VS command prompt with the command "devenv /ResetSkipPkgs".

I'm clueless. Thanks in advance!

4

1 回答 1

18

在针对 TFS 2010 运行的 Windows 7 客户端上,清除以下文件夹的内容:

%LOCALAPPDATA%\Microsoft\Team Foundation\3.0\Cache

在针对 TFS 2012 运行的 Windows 7 客户端上,清除以下文件夹的内容:

%LOCALAPPDATA%\Microsoft\Team Foundation\4.0\Cache

在针对 TFS 2013 运行的 Windows 7 客户端上,清除以下文件夹的内容:

%LOCALAPPDATA%\Microsoft\Team Foundation\5.0\Cache
于 2013-10-01T17:51:06.070 回答