Visual Studio 2015 Войти MissingMethodException во время ExplicitSignIn - PullRequest
0 голосов
/ 13 июня 2018

Попытка подключиться к VSTS из VS 2015.

Я нажимаю кнопку «Войти», и она мгновенно падает без запроса учетных данных пользователя с этой ошибкой:

Метод не найден: 'Void System.Net.HttpWebRequest.set_SslProtocols (System.Security.Authentication.SslProtocols) '.

Ввести / зарегистрировать некоторые записи:

<entry>
    <record>519</record>
    <time>2018/06/13 08:42:18.623</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension Manager: Failed to subscribe to extension auto-update message. Exception:An exception occurred. See inner exception for more details.</description>
  </entry>
  <entry>
    <record>520</record>
    <time>2018/06/13 08:42:18.623</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Error updating the registry for incompatible extensions. Exception: Method not found: &apos;Void System.Net.HttpWebRequest.set_SslProtocols(System.Security.Authentication.SslProtocols)&apos;.</description>
  </entry>
  <entry>
    <record>521</record>
    <time>2018/06/13 08:42:18.623</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Error downloading compatibility list. Exception: Method not found: &apos;Void System.Net.HttpWebRequest.set_SslProtocols(System.Security.Authentication.SslProtocols)&apos;.</description>
  </entry>
<entry>
    <record>540</record>
    <time>2018/06/13 08:42:21.010</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK\...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
  </entry>
<entry>
    <record>570</record>
    <time>2018/06/13 08:42:42.828</time>
    <type>Error</type>
    <source>UserConnection</source>
    <description>User:IdeUser, Method not found: &apos;Void System.Net.HttpWebRequest.set_SslProtocols(System.Security.Authentication.SslProtocols)&apos;.: MissingMethodException during ExplicitSignIn&#x000D;&#x000A;   at System.Net.Http.HttpClientHandler.CreateAndPrepareWebRequest(HttpRequestMessage request)&#x000D;&#x000A;   at System.Net.Http.HttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.&lt;SendAsyncImpl&gt;d__20.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.&lt;SendAsync&gt;d__17.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.&lt;SendAsync&gt;d__3.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.&lt;SendAsync&gt;d__79.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.&lt;SendAsync&gt;d__76`1.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.&lt;GetConnectionDataAsync&gt;d__6.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Client.VssServerDataProvider.&lt;ConnectAsync&gt;d__39.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeConnector.&lt;ConnectAsync&gt;d__2.MoveNext() (ActivityId: 00000000-0000-0000-0000-000000000000)</description>
  </entry>
<entry>
    <record>572</record>
    <time>2018/06/13 08:43:08.464</time>
    <type>Error</type>
    <source>UserConnection</source>
    <description>User:IdeUser, Method not found: &apos;Void System.Net.HttpWebRequest.set_SslProtocols(System.Security.Authentication.SslProtocols)&apos;.: MissingMethodException during ExplicitSignIn&#x000D;&#x000A;   at System.Net.Http.HttpClientHandler.CreateAndPrepareWebRequest(HttpRequestMessage request)&#x000D;&#x000A;   at System.Net.Http.HttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.&lt;SendAsyncImpl&gt;d__20.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.&lt;SendAsync&gt;d__17.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.&lt;SendAsync&gt;d__3.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.&lt;SendAsync&gt;d__79.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.&lt;SendAsync&gt;d__76`1.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.&lt;GetConnectionDataAsync&gt;d__6.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Client.VssServerDataProvider.&lt;ConnectAsync&gt;d__39.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeConnector.&lt;ConnectAsync&gt;d__2.MoveNext() (ActivityId: 00000000-0000-0000-0000-000000000000)</description>
  </entry>

Список расширений:

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.7.03062

Installed Version: Enterprise

Architecture and Modeling Tools   00325-70000-26323-AA856
Microsoft Architecture and Modeling Tools

UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2015   00325-70000-26323-AA856
Microsoft LightSwitch for Visual Studio 2015

Microsoft Visual Studio Tools for Applications 2015   00325-70000-26323-AA856
Microsoft Visual Studio Tools for Applications 2015

Visual Basic 2015   00325-70000-26323-AA856
Microsoft Visual Basic 2015

Visual C# 2015   00325-70000-26323-AA856
Microsoft Visual C# 2015

Visual C++ 2015   00325-70000-26323-AA856
Microsoft Visual C++ 2015

ASP.NET and Web Tools 2015.1   14.1.30801.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v3.0.0   14.0.30823.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.6000.1
Microsoft Azure Data Lake Tools for Visual Studio

Azure Data Lake Tools for Visual Studio   2.2.6000.1
Microsoft Azure Data Lake Tools for Visual Studio

CodeMaid   10.5.119
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

FixNamespaceTool Extension   1.0
FixNamespaceTool Visual Studio Extension Detailed Info

GitExtensions   1.0
Git Extensions is a graphical user interface for Git that allows you to control Git without using the command-line

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

M Language   1.10
M Language

Microsoft .NET Core Tools (Preview 2)   14.1.30801.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure HDInsight Azure Node   2.2.6000.1
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.2.6000.1
Language service for Hive query

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Stream Analytics Language Service   2.2.6000.1
Language service for Azure Stream Analytics

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.50504.2

Microsoft Team Foundation Server 2015 Power Tools   14.0
Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio Process Editor   1.0
Process Editor for Microsoft Visual Studio Team Foundation Server

NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 ENU   14.0.23928
Microsoft Office Developer Tools for Visual Studio 2015 ENU

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Integration Services   
Microsoft SQL Server Integration Services Designer
Version 14.0.800.90

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

WebJobs Tools v1.0.0   14.0.30823.0
WebJobs Tools v1.0.0

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Я пытался удалить все сохраненные учетные данные в Windows Cred Store.Я удалил токен PAT для своего пользователя.Я также вижу эту ошибку при попытке получить все из репозитория GIT.Это никогда не спрашивает меня о полномочиях.Есть идеи что это такое и как решить это?

...