Não é possível efetuar login no Visual Studio 2015 - System.Net.Http.Primitives não carregado

1

Minha licença para o VS Community 2015 foi obsoleta. Agora, qualquer tentativa de entrar ou atualizar minha licença leva a uma mensagem de erro "Exceção foi acionada pelo destino de uma chamada". Corri devenv /log e rastreei o problema para uma exceção "Não foi possível carregar o arquivo ou a montagem 'System.Net.Http.Primitives, Version = 1.5.0.0 ...'" que é acionada quando o VS tenta autenticar ou algo assim.

Eu tentei reparar e reinstalar o VStudio, incluindo a ferramenta de desinstalação "scorch" no Github. Eu tentei executar sfc /scannow e não encontrei violações de integridade. Tudo o que eu acho on-line relacionado a esta exceção me diz como corrigi-lo para um projeto em execução no VS, mas não como consertá-lo quando o próprio VS lança-lo. Eu tentei devenv /resetuserdata e /ResetSettings . Nada funcionou.

Sinto que preciso atualizar meu GAC manualmente de uma DLL confiável, mas, para minha vida, não consigo descobrir como fazer isso.

Este é o elemento de entrada de log XML completo em que o erro ocorre em devenv /log :

<entry>
<record>368</record>
<time>2016/12/13 17:21:54.787</time>
<type>Error</type>
<source>UserConnection</source>
<description>User:IdeUser, Exception has been thrown by the target of an invocation.: TargetInvocationException [inner: Could not load file or assembly &apos;System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.] during ExplicitSignIn&#x000D;&#x000A;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#x000D;&#x000A;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#x000D;&#x000A;   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp; stackMark)&#x000D;&#x000A;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#x000D;&#x000A;   at System.Activator.CreateInstance(Type type, Object[] args)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.Client.VssConnection.&lt;GetClientInstanceAsync&gt;d__15.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.VssConnection.&lt;GetClientServiceImplAsync&gt;d__13.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.VssConnection.&lt;GetClientAsync&gt;d__10'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.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>

Alguma idéia?

    
por Andy Raddatz 13.12.2016 / 18:50

0 respostas