WPF XBAP 的小问题

发布于 2024-08-08 19:35:27 字数 2109 浏览 4 评论 0原文

有时我的 XBAP 应用程序会出现此错误。其他人有这个问题吗?

System.InvalidOperationException:此实例无法进行进一步的操作。

这是 https://connect.microsoft.com/VisualStudio/feedback /ViewFeedback.aspx?FeedbackID=496484

完整堆栈

System.InvalidOperationException: No further operations are possible with this instance.

at System.Deployment.Application.InPlaceHostingManager.AssertState(State validState)
at System.Deployment.Application.InPlaceHostingManager.Execute()
at MS.Internal.AppModel.XappLauncherApp.ExecuteDownloadedApplication()
at System.Windows.Interop.DocObjHost.RunApplication(ApplicationRunner runner)
at MS.Internal.AppModel.XappLauncherApp.XappLauncherApp_Exit(Object sender, ExitEventArgs e)
at System.Windows.Application.OnExit(ExitEventArgs e)
at System.Windows.Application.DoShutdown()
at System.Windows.Application.ShutdownImpl()
at System.Windows.Application.ShutdownCallback(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke() 

Sometimes my XBAP application gives this error. Did someone else had this problem?

System.InvalidOperationException: No further operations are possible with this instance.

This is on https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=496484

Complete stack

System.InvalidOperationException: No further operations are possible with this instance.

at System.Deployment.Application.InPlaceHostingManager.AssertState(State validState)
at System.Deployment.Application.InPlaceHostingManager.Execute()
at MS.Internal.AppModel.XappLauncherApp.ExecuteDownloadedApplication()
at System.Windows.Interop.DocObjHost.RunApplication(ApplicationRunner runner)
at MS.Internal.AppModel.XappLauncherApp.XappLauncherApp_Exit(Object sender, ExitEventArgs e)
at System.Windows.Application.OnExit(ExitEventArgs e)
at System.Windows.Application.DoShutdown()
at System.Windows.Application.ShutdownImpl()
at System.Windows.Application.ShutdownCallback(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Boolean isSingleParameter, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke() 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

农村范ル 2024-08-15 19:35:27

这个错误不再发生,他们发布了最终稳定的 .Net Framework 4.0。

这可能是由我使用的 Beta 版中的一些错误引起的。

This error stopped happening they release the final stable .Net Framework 4.0 .

This was problably caused by some bug in the Beta that I was using.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文