当我在 Visual Studio 2012 Professional 中打开现有解决方案时,出现上述错误。这曾经可以工作,但在重建计算机后出现了问题。
我已经安装了 Visual Studio 2015 社区并且可以连接到相同的
正确收藏。
我还尝试使用浏览器连接到同一个集合。它也工作正常。
清除 AppData\Local\Microsoft\Team Foundation\4.0\Cache 中的所有文件不起作用。
因为 Visual Studio 2015 可以工作,所以它不应该是防火墙或代理问题。
任何人都知道 Visual Studio 2012 有什么问题以及如何修复它?
编辑:
更高版本的 TFS 可能会发生此错误:
Team Foundation Error
TF400324: Team Foundation services are not available from server TFSServer\DefaultCollection.
Technical information (for administrator):
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xxx:443
最佳答案
根据这个blog解决方案是(是的,它对我有用)
%LocalAppData%\Microsoft\Team Foundation\
然后选择包含您的 TFS 版本的文件夹并进入 Cache
文件夹。例如,在我的机器中,路径是
%LocalAppData%\Microsoft\Team Foundation\7.0\Cache
并且在您的机器上应该是相同的,只是 TFS 版本文件夹名称不同。 Cache
中的所有内容文件夹。 关于visual-studio - TF400324 : Team Foundation services are not available from server <Server/CollectionName> in Visual Studio 2012,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36109895/