尝试在Visual Studio 2015中访问TFS版本时,我收到了一个找不到方法的异常。我尝试将Microsoft.VisualStudio.Services.WebApi.dll版本14.0.24712.0添加到GAC,问题仍然存在。
找不到方法:'System.Threading.Tasks.Task 1<!!0> Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(System.Net.Http.HttpMethod, System.Guid, System.Object, Microsoft.VisualStudio.Services.WebApi.ApiResourceVersion, System.Net.Http.HttpContent, System.Collections.Generic.IEnumerable
1&gt;,System.Object,System.Threading.CancellationToken)'。
答案 0 :(得分:1)
如果它在VS2015的其他同事的机器上运行良好,这似乎是一个客户端问题。
您可以先尝试clear VS and TFS cache。如果它仍然不起作用,重新安装VS2015可能会做到这一点(不推荐)。