Visual Studio 2012 keeps losing connection with TFS 2010

て烟熏妆下的殇ゞ 提交于 2019-11-29 12:30:51

问题


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!


回答1:


On a Windows 7 client running against TFS 2010, clear the contents of the following folder:

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

On a Windows 7 client running against TFS 2012, clear the contents of the following folder:

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

On a Windows 7 client running against TFS 2013, clear the contents of the following folder:

%LOCALAPPDATA%\Microsoft\Team Foundation\5.0\Cache


来源:https://stackoverflow.com/questions/15920440/visual-studio-2012-keeps-losing-connection-with-tfs-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!