【问题标题】:[UWP][C#] My app is unhealthy[UWP][C#] 我的应用程序不健康
【发布时间】:2024-01-08 19:16:01
【问题描述】:

我有一个发布到应用商店的 UWP 应用并且运行良好。我提交给商店的最新版本在本地调试和发布版本中运行良好,它通过了 Windows App Cert Kit 测试,它通过了商店认证过程,但是当我(或其他所有人)从商店下载它时它在运行时崩溃。商店的健康报告给了我一个无用的(至少对我来说)堆栈跟踪。我为解决这个问题所做的就是提交一个以前的版本并猜测是什么......同样的错误,提交的是以前的工作版本。以下是运行状况报告中的堆栈跟踪:

Frame   Image   Function    Offset
0   KERNELBASE.dll  RaiseFailFastException  0x0000000000000074  
1   mrt100_app.dll  System::Runtime::EH.GetRuntimeException 0x0000000000000014  
2   mrt100_app.dll  System::Runtime::EH.GetClasslibException    0x0000000000000045  
3   mrt100_app.dll  System::Runtime::EH.RhThrowHwEx 0x0000000000000063  
4   mrt100_app.dll  RhpThrowHwEx2   0x0000000000000000  
5   mrt100_app.dll  System::Runtime::TypeCast.AreTypesEquivalentInternal    0x0000000000000071  
6   mrt100_app.dll  System::Runtime::TypeCast.AreTypesEquivalent    0x0000000000000009  
7   null            Internal::Runtime::TypeLoader::RuntimeTypeHandleEqualityComparer.Equals 0x0000000000000047  
8   null            System::Collections::Generic::Internal::Dictionary$2_System::RuntimeTypeHandle,System::Int32_.FindEntry 0x0000000000000096  
9   null            System::Collections::Generic::Internal::Dictionary$2_System::RuntimeTypeHandle,System::Int32_.TryGetValue   0x0000000000000011  
10  null            System::Runtime::InteropServices::McgModuleManager.InsertDataIntoDictionary 0x0000000000000089  
11  null            System::Runtime::InteropServices::McgModuleManager.Initialize   0x0000000000000240  
12  myapp.mcginterop.dll    Mcg::StartupCodeTrigger.Initialize  0x0000000000000038  
**13    myapp.exe       $ILCT$::$ILT$MainMethodType$.NewMainMethod  0x000000000000000B**    
14  myapp.dll       RHBinder__ManagedInitAndLaunch  0x0000000000000020  
15  myapp.dll       RHBinder__ShimExeMain   0x000000000000000D  
16  kernel32.dll    BaseThreadInitThunk 0x0000000000000014  
17  ntdll.dll       RtlUserThreadStart  0x0000000000000021  

【问题讨论】:

标签: uwp windows-runtime windows-10 windows-store


【解决方案1】:

通过上面的堆栈跟踪很难诊断这个问题。你最好打开支持ticket。您将获得 1:1 的支持。请注意,如果是 Microsoft 的问题,您的支持票将是免费的。

【讨论】:

  • 嗨,泽维尔。我确实开了一张票,这就是答案“这个问题超出了我们的支持范围,建议您在技术论坛上发布您的问题,以获得我们的一位技术顾问的建议”?‍♂️
  • 你有没有试过sideload你的应用,看看你生成包成功后会不会崩溃?
最近更新 更多