应用update 2 VisualStudio 2015后,企业可以';t连接到TFS-异常TF205020
VisualStudio 2015.1企业/TFS集成在应用VS2015更新2之前运行良好 重新安装/修复VisualStudio无法解决此问题,请继续获取: TF205020:未能连接到服务器。。。。。。服务器返回了以下错误: 无法从程序集“Microsoft.VisualStudio.Services.WebApi,版本=14.0.0.0,区域性=中性,PublicKeyToken=b03f5f7f11d50a3a”加载类型Microsoft.VisualStudio.Services.WebApi.Utilities.UserAgentability” 设置: VS企业2015.2应用update 2 VisualStudio 2015后,企业可以';t连接到TFS-异常TF205020,tfs,visual-studio-2015,tfs-2015,team-explorer,publickeytoken,Tfs,Visual Studio 2015,Tfs 2015,Team Explorer,Publickeytoken,VisualStudio 2015.1企业/TFS集成在应用VS2015更新2之前运行良好 重新安装/修复VisualStudio无法解决此问题,请继续获取: TF205020:未能连接到服务器。。。。。。服务器返回了以下错误: 无法从程序集“Microsoft.VisualStudio.Services.WebApi,版本=14.0.0.0,区域性=中性,PublicKeyToken=b03f5f7f11d50a3a”加载类型Microsoft.VisualStudio.Services.We
TFS 2015.2缩小此问题的范围:
我们这里也有同样的问题。删除缓存、用户配置文件文件夹和注册表设置后重新安装Visual Studio 2015对我们没有帮助。看起来TestComplete 11.31安装在GAC中安装了一些与Visual Studio 2015 Update 2冲突的程序集。我们修复了比较两个几乎相同的系统(一个有TestComplete,一个没有TestComplete)和从%WINDOWS%\Microsoft.NET\assembly文件夹中删除的这些程序集时出现的问题:
- Micorosft.VisualStudio.Services.Client
- Micorosft.VisualStudio.Services.Common
- Micorosft.VisualStudio.Services.Integration
- Micorosft.VisualStudio.Services.WebApi
- Microsoft.TeamFoundation.Client
- Microsoft.TeamFoundation.WorkItemTracking.Common
感谢Ernstjan Freriks,此附加信息(最初来自Microsoft Connect)帮助我:
The Tfs client binaries should not be in your GAC. The only way they would get there is to add them yourself, or install some 3rd party application that has added them. Once they are in the GAC they will be loaded instead of the binary that matches your version of TeamExplorer or tf.exe. You need to remove all instances of any Team Foundation binary from the GAC including the following:
Microsoft.TeamFoundation.Build2.WebApi.dll
Microsoft.TeamFoundation.Chat.WebApi.dll
Microsoft.TeamFoundation.Common.dll
Microsoft.TeamFoundation.Core.WebApi.dll
Microsoft.TeamFoundation.Diff.dll
Microsoft.TeamFoundation.Discussion.Client.dll
Microsoft.TeamFoundation.Discussion.WebApi.dll
Microsoft.TeamFoundation.Git.Client.dll
Microsoft.TeamFoundation.Lab.Client.dll
Microsoft.TeamFoundation.Lab.Common.dll
Microsoft.TeamFoundation.Lab.TestIntegration.Client.dll
Microsoft.TeamFoundation.Lab.WorkflowIntegration.Client.dll
Microsoft.TeamFoundation.Policy.WebApi.dll
Microsoft.TeamFoundation.ProjectManagement.dll
Microsoft.TeamFoundation.SharePointReporting.Integration.dll
Microsoft.TeamFoundation.SourceControl.WebApi.dll
Microsoft.TeamFoundation.Test.WebApi.dll
Microsoft.TeamFoundation.TestImpact.Client.dll
Microsoft.TeamFoundation.TestManagement.Client.dll
Microsoft.TeamFoundation.TestManagement.Common.dll
Microsoft.TeamFoundation.TestManagement.WebApi.dll
Microsoft.TeamFoundation.VersionControl.Client.dll
Microsoft.TeamFoundation.VersionControl.Common.dll
Microsoft.TeamFoundation.VersionControl.Common.Integration.dll
Microsoft.TeamFoundation.Work.WebApi.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.QueryLanguage.dll
Microsoft.TeamFoundation.WorkItemTracking.Common.dll
Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll
Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll
Microsoft.VisualStudio.Services.Client.dll
Microsoft.VisualStudio.Services.Common.dll
Microsoft.VisualStudio.Services.WebApi.dll
You can use gacutil to remove these. Once removed your issue should be fixed.
谢谢我们还在同一系统上安装了SmartBear TestComplete 11.31。问题解决了!