首页 > 解决方案 > 发布版本上的 UWP-APP 应用程序错误

问题描述

我正在尝试创建一个简单的 UWP-APP。但是,我最近发现了一些问题,但只是在执行发布构建时。执行调试构建时,UWP-APP 工作正常。

导航到特定页面后,应用程序向我显示以下异常:

Exception error for 0x78612B20 (SharedLibrary.dll) in MNRC-APP.exe: 0xC7536E53

Windows 事件记录器显示以下应用程序错误:

Name of the corrupted application: linked.exe, version: 1.0.0.0, timestamp: 0x5ff86d3f
Name of the corrupted module: SharedLibrary.dll, version: 2.2.29512.0, timestamp: 0x5fad1a6e
Exception Code: 0xc7536e53
Error offset: 0x0000000000690556
ID of the faulty process: 0x5874
Start time of the faulty application: 0x01d6e75d22c7648e
Path of the faulty application: C:\Program Files\WindowsApps\48791DKAPPS.MNRC-APP_1.1.26.0_x64__3s1a31dcph6dt\linked.exe
Path of the corrupted module: C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe\SharedLibrary.dll
Report identifier: cd102ead-8404-4699-b0ff-caee357d162d
Full name of the corrupted package: 48791DKAPPS.MNRC-APP_1.1.26.0_x64__3s1a31dcph6dt
Application ID relative to the corrupted package: App

由于损坏的模块位于框架文件夹中,我现在真的很困惑。谁能帮我解决这个问题?

在我的应用程序中添加 Application.UnhandledException 事件后,我收到以下错误:

Search source for "f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\shared\System\Runtime\Intrinsics\X86\Sse42.PlatformNotSupported.cs". Checksum: SHA1 {64 24 11 c6 2 b2 e7 bf ee b8 5d f6 81 fe 83 ac 35 be 57 cd}
The file "f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\shared\System\Runtime\Intrinsics\X86\Sse42.PlatformNotSupported.cs" does not exist.
"f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\shared\System\Runtime\Intrinsics\X86\Sse42.PlatformNotSupported.cs" is searched in script document...
"f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\shared\System\Runtime\Intrinsics\X86\Sse42.PlatformNotSupported.cs" is searched in projects.
The file was not found in a project.
Documents embedded in the symbol file are searched for.
An embedded document was not found.
The source file debugging settings for the active solution specify that the user is not prompted to search for the file: f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\shared\System\Runtime\Intrinsics\X86\Sse42.PlatformNotSupported.cs.
The source file "f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\shared\System\Runtime\Intrinsics\X86\Sse42.PlatformNotSupported.cs" was not found.

我想通了,如何在启用了 Compile with .NET Native 工具链选项的情况下执行构建。但是,我只收到与往常一样的错误:

Exception error for 0x78AFD898 (SharedLibrary.dll) in MNRC-APP.exe: 0xC7536E53

有人可以向我解释这到底是什么意思,或者我能做些什么。

标签: c#uwpuwp-xaml

解决方案


经过长时间的研究和反复试验,我终于找到了问题所在。在我的应用程序中,我使用了一个依赖于Threads的 .dll 。这导致应用程序崩溃。我只是通过使用不使用线程的 .dll 来解决这个问题。感谢您的所有帮助和建议。


推荐阅读