VisualStudio 2015.1 Enterprise / TFS集成工作正常,直到应用VS2015更新2。
重新安装/修复VisualStudio没有解决问题,不断获取:
TF205020:无法连接到服务器......服务器返回以下错误:
无法加载类型Microsoft.VisualStudio.Services.WebApi.Utilities.UserAgentUtility'来自assembly' Microsoft.VisualStudio.Services.WebApi,Version = 14.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'。
SETUP:
VS Enterprise 2015.2 TFS 2015.2
答案 0 :(得分:3)
我们在这里遇到了同样的问题。删除缓存,用户配置文件文件夹和注册表设置后重新安装Visual Studio 2015对我们没有帮助。看起来像TestComplete 11.31安装在GAC中安装了一些与Visual Studio 2015 Update 2冲突的程序集。我们修复了比较两个几乎相同的系统(一个有一个没有TestComplete)的问题以及我们从%WINDOWS%中删除的这些程序集Microsoft.NET \ assembly文件夹:
但问题仍然存在。删除后:
我希望这会对您的问题有所帮助......
答案 1 :(得分:0)
缩小此问题的范围:
答案 2 :(得分:0)
与此问题相同:Extension fails to load on VS2015.2,请尝试使用其中的解决方案:
您可以查看Microsoft.VisualStudio.Services.WebApi.dll是否正确 安装到GAC?最简单的方法是检查是否 有一个文件夹以v14.0.0.0开头 C:\的Windows \ Microsoft.NET \组件\ GAC_MSIL \ Microsoft.VisualStudio.Services.WebApi
我怀疑你有一个来自VS 2015 RTM或VS 2015 Update 1的程序集 GAC。卸载它,将解决问题。
答案 3 :(得分:0)
感谢Ernstjan Freriks,这个额外的信息帮助了我:
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.