Visual Studio 2013与NetFx40_LegacySecurityPolicy崩溃 - 动态操作只能在同类AppDomain中执行?

时间:2014-01-07 18:08:03

标签: crash visual-studio-2013

使用<NetFx40_LegacySecurityPolicy> Element使我能够在Visual Studio 2010和2012 Windows窗体设计器中使用旧的.NET 2.0许可下的.NET 2.0控件,以便为TRAVERSE生态系统开发。 (见NetFx40_LegacySecurityPolicy in design-time mode。)

但是,同样的设置会强制Visual Studio 2013立即崩溃打开显示。 是否有解决方法,或者我是否被迫安装Visual Studio 2012以使用Forms设计器?

它调用Environment.FailFast,并显示消息“无法在UI线程上安排时间。延续将永远不会执行。”它捕获的异常,这是一个InvalidOperationException,消息“动态操作只能在同源AppDomain中执行。”

原始异常的调用堆栈:

System.Core.dll!System.Runtime.CompilerServices.CallSiteBinder.BindCore<System.Func<System.Runtime.CompilerServices.CallSite,object,System.Threading.Tasks.TaskScheduler>>(System.Runtime.CompilerServices.CallSite<System.Func<System.Runtime.CompilerServices.CallSite,object,System.Threading.Tasks.TaskScheduler>> site, object[] args) Line 41 + 0x33 bytes    C#
System.Core.dll!System.Dynamic.UpdateDelegates.UpdateAndExecute1<object,System.Threading.Tasks.TaskScheduler>(System.Runtime.CompilerServices.CallSite site, object arg0) Line 277 + 0x31 bytes C#
Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.SchedulerModifyingJoinableTaskFactoryWrapper.PostToUnderlyingSynchronizationContext(System.Threading.SendOrPostCallback callback, object state) Line 401 + 0x7d bytes    C#
Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.PostToUnderlyingSynchronizationContextOrThreadPool(Microsoft.VisualStudio.Threading.JoinableTaskFactory.SingleExecuteProtector callback) Line 98 + 0x1e bytes C#
Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTask.Post(System.Threading.SendOrPostCallback d, object state, bool mainThreadAffinitized) Line 314   C#
Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.RequestSwitchToMainThread(System.Action callback) Line 134    C#
Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.MainThreadAwaiter.OnCompleted(System.Action continuation) Line 362 + 0xb bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<int>.AwaitOnCompleted<Microsoft.VisualStudio.Threading.JoinableTaskFactory.MainThreadAwaiter,Microsoft.VisualStudio.Services.Roaming.Utilities.<int>.<ExecuteOnUiThreadAsync>b__1c>(ref Microsoft.VisualStudio.Threading.JoinableTaskFactory.MainThreadAwaiter awaiter, ref Microsoft.VisualStudio.Services.Roaming.Utilities.<int>.<ExecuteOnUiThreadAsync>b__1c stateMachine) Line 47 + 0x9 bytes C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int>() Line 159 + 0xc0 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Services.Roaming.Utilities.<int>.<ExecuteOnUiThreadAsync>b__1c>(ref Microsoft.VisualStudio.Services.Roaming.Utilities.<int>.<ExecuteOnUiThreadAsync>b__1c stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<int>.Start<Microsoft.VisualStudio.Services.Roaming.Utilities.<int>.<ExecuteOnUiThreadAsync>b__1c>(ref Microsoft.VisualStudio.Services.Roaming.Utilities.<int>.<ExecuteOnUiThreadAsync>b__1c stateMachine) Line 27 + 0xd bytes   C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int>.AnonymousMethod__1c() + 0x77 bytes 
Microsoft.VisualStudio.Threading.dll!Microsoft.VisualStudio.Threading.JoinableTaskFactory.RunAsync<int>(System.Func<System.Threading.Tasks.Task<int>> asyncMethod, bool synchronouslyBlocking) Line 191 + 0xa bytes C#
Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.RunAsync<int>(Microsoft.VisualStudio.Threading.JoinableTaskFactory joinableTaskFactory, Microsoft.VisualStudio.Shell.VsTaskRunContext priority, System.Func<System.Threading.Tasks.Task<int>> asyncMethod) Line 328 + 0x24 bytes C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int>(System.Func<int> func) Line 158 + 0x40 bytes   C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int>>(ref Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int> stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<int>.Start<Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int>>(ref Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int> stateMachine) Line 27 + 0xd bytes   C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync<int>(System.Func<int> func) + 0x77 bytes    
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy(System.Uri url, bool okToPrompt, Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Logger logger) Line 206 + 0x1ec bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.__Canon>.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy stateMachine) Line 27 + 0xd bytes    C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy(System.Uri url, bool okToPrompt, Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Logger logger) + 0x96 bytes  
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync(System.Uri url, Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Logger logger, int retryCount) Line 170 + 0x1c bytes  C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.__Canon>.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync stateMachine) Line 27 + 0xd bytes    C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync(System.Uri url, Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Logger logger, int retryCount) + 0x96 bytes   
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker() Line 153 + 0x11e bytes   C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.__Canon>.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker stateMachine) Line 27 + 0xd bytes    C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker() + 0x81 bytes 
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl(System.Threading.CancellationToken cancellationToken) Line 168 + 0x13 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.__Canon>.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl stateMachine) Line 27 + 0xd bytes    C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl(System.Threading.CancellationToken cancellationToken) + 0x8c bytes 
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync(System.Threading.CancellationToken cancellationToken) Line 132 + 0x35 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<System.__Canon>.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync stateMachine) Line 27 + 0xd bytes    C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync(System.Threading.CancellationToken cancellationToken) + 0x8c bytes 
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync() Line 412 + 0x26 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<int>.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync stateMachine) Line 27 + 0xd bytes   C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync() + 0x77 bytes 
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync() Line 118 + 0x10 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync stateMachine) Line 30 + 0x8 bytes    C#
mscorlib.dll!System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start<Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync>(ref Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync stateMachine) Line 26 + 0xd bytes    C#
Microsoft.VisualStudio.Shell.Connected.dll!Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync(object unused) + 0x80 bytes    
mscorlib.dll!System.Threading.TimerQueueTimer.CallCallbackInContext(object state) Line 67 + 0xe bytes   C#
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 288 + 0xd bytes  C#
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 260 + 0xd bytes  C#
mscorlib.dll!System.Threading.TimerQueueTimer.CallCallback() Line 58 + 0xc bytes    C#
mscorlib.dll!System.Threading.TimerQueueTimer.Fire() Line 172   C#
mscorlib.dll!System.Threading.TimerQueue.FireNextTimers() Line 166 + 0x8 bytes  C#
mscorlib.dll!System.Threading.TimerQueue.AppDomainTimerCallback() Line 30 + 0x1c bytes  C#
[Native to Managed Transition]  

在崩溃时的事件日志中:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Failed to schedule time on the UI thread. A continuation would never execute.
Stack:
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.VisualStudio.Threading.JoinableTaskFactory+MainThreadAwaiter.OnCompleted(System.Action)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AwaitOnCompleted[[Microsoft.VisualStudio.Threading.JoinableTaskFactory+MainThreadAwaiter, Microsoft.VisualStudio.Threading, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a],[Microsoft.VisualStudio.Services.Roaming.Utilities+<>c__DisplayClass1d`1+<<ExecuteOnUiThreadAsync>b__1c>d__1f[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](MainThreadAwaiter ByRef, <<ExecuteOnUiThreadAsync>b__1c>d__1f<Int32> ByRef)
at Microsoft.VisualStudio.Services.Roaming.Utilities+<>c__DisplayClass1d`1+<<ExecuteOnUiThreadAsync>b__1c>d__1f[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Services.Roaming.Utilities+<>c__DisplayClass1d`1+<<ExecuteOnUiThreadAsync>b__1c>d__1f[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<<ExecuteOnUiThreadAsync>b__1c>d__1f<Int32> ByRef)
at Microsoft.VisualStudio.Services.Roaming.Utilities+<>c__DisplayClass1d`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<ExecuteOnUiThreadAsync>b__1c()
at Microsoft.VisualStudio.Threading.JoinableTaskFactory.RunAsync[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.Threading.Tasks.Task`1<Int32>>, Boolean)
at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.RunAsync[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.VisualStudio.Threading.JoinableTaskFactory, Microsoft.VisualStudio.Shell.VsTaskRunContext, System.Func`1<System.Threading.Tasks.Task`1<Int32>>)
at Microsoft.VisualStudio.Services.Roaming.Utilities+<ExecuteOnUiThreadAsync>d__22`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Services.Roaming.Utilities+<ExecuteOnUiThreadAsync>d__22`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<ExecuteOnUiThreadAsync>d__22`1<Int32> ByRef)
at Microsoft.VisualStudio.Services.Roaming.Utilities.ExecuteOnUiThreadAsync[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<Int32>)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities+<ResolveFWLinkThroughVsWebProxy>d__5.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities+<ResolveFWLinkThroughVsWebProxy>d__5, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<ResolveFWLinkThroughVsWebProxy>d__5 ByRef)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkThroughVsWebProxy(System.Uri, Boolean, Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Logger)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities+<ResolveFWLinkAsync>d__f.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities+<ResolveFWLinkAsync>d__f, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<ResolveFWLinkAsync>d__f ByRef)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Utilities.ResolveFWLinkAsync(System.Uri, Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Logger, Int32)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext+<PrepareToConnectAndComputeCodeMarker>d__20.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext+<PrepareToConnectAndComputeCodeMarker>d__20, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<PrepareToConnectAndComputeCodeMarker>d__20 ByRef)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserContext.PrepareToConnectAndComputeCodeMarker()
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession+<ConnectAsyncImpl>d__17.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession+<ConnectAsyncImpl>d__17, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<ConnectAsyncImpl>d__17 ByRef)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsyncImpl(System.Threading.CancellationToken)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession+<ConnectAsync>d__2.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession+<ConnectAsync>d__2, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<ConnectAsync>d__2 ByRef)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.ConnectAsync(System.Threading.CancellationToken)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession+<PollConnectAsync>d__22.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession+<PollConnectAsync>d__22, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<PollConnectAsync>d__22 ByRef)
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.PollConnectAsync()
at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller+<PollAsync>d__3.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller+<PollAsync>d__3, Microsoft.VisualStudio.Shell.Connected, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<PollAsync>d__3 ByRef)
Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Poller.PollAsync(System.Object)
at System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.TimerQueue.AppDomainTimerCallback()

0 个答案:

没有答案