Winrt包中的System.Runtime.InteropServices.COMException

时间:2012-08-22 14:40:12

标签: windows-8 windows-runtime windows-store-apps winrt-xaml

我正在 Windows 8(XAML)开发应用。

应用程序在本地计算机上运行正常,但是当我在发布模式中创建程序包并测试应用程序时,它会崩溃。

我在计算机中看到应用程序日志,发现此错误

  

应用程序:MyApp.exe   框架版本:v4.0.30319   描述:由于未处理的异常,进程终止。   异常信息:System.Runtime.InteropServices.COMException   堆:      在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()      在System.Threading.WinRTSynchronizationContext + Invoker.b__0(System.Object)      在System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)      在System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)      在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)      在System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()      在System.Threading.ThreadPoolWorkQueue.Dispatch()      在System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

0 个答案:

没有答案