我正在使用Visual Studio 2013.当我尝试打开它时,它会与此堆栈跟踪崩溃。我不确定出了什么问题。
我尝试在安全模式下运行VS,我删除了所有* .suo文件,我删除了所有* .user文件 - 他们没有帮助。谢谢!
Unexpected exception Buffer cannot be null.
Parameter name: buffer
at Microsoft.VisualStudio.Shell.ThreadHelper.InvokeOnUIThread(InvokableBase invokable)

at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.AvatarCache..ctor(AvatarSize size, Byte[] value, Boolean isGenerated, Logger logger)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ProfileCache..ctor(Profile profile, Guid serverId, Uri profileUri, String emailAddress, Logger logger)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Connector.<ConnectAsync>d__1.MoveNext()

--- End of stack trace from previous location where exception was thrown ---


at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeUserSession.<ConnectAndInitializeSessionAsync>d__a.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsyncImpl>d__17.MoveNext()
---
End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<PollConnectAsync>d__22.MoveNext()</description>
答案 0 :(得分:3)
C:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ Common7 \ IDE&gt; devenv.exe / ResetUserData