windows-store-apps - 从 Windows 应用商店下载并安装后 UWP 崩溃

标签 windows-store-apps windows-10 uwp

我已成功将 UWP 应用程序部署到 Windows 应用商店。它在 Windows Phone 中完美运行,但是,当从 Windows Store 安装到 PC/笔记本电脑时,它会失败并崩溃。 检查事件查看器(Windows 日志)显示以下错误;

Activation of app AppName!App failed with error: The remote procedure call failed. See the Microsoft-Windows-TWinUI/Operational log for additional information.

我不明白这是什么类型的错误?

谢谢!

最佳答案

您是否尝试过使用 Visual Studio 2015 在 Windows Phone 设备上以 Release模式运行它? 大多数情况下,此类错误是由于 .NET Native 造成的,默认情况下,它在调试版本中不会激活,但在应用程序发布到应用商店时会激活。

谢谢

关于windows-store-apps - 从 Windows 应用商店下载并安装后 UWP 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34305820/

相关文章:

C# - 当我使用 task::wait() 方法时它抛出异常

c# - 从 .Net 4.x 应用程序反射(reflect) WinRT 可执行文件

vb.net - 如何为 UWP 正确指定 FileOpenpicker.FileTypeFilter 语法

silverlight - 如果 ObservableCollection 为空则显示文本 block

windows - 如何以编程方式在 Windows 10 的特定监视器上启动应用程序?

c# - Windows BluetoothLeAdvertisement 不包含 Android 设备广播的服务 uuid

ubuntu - 双启动屏幕问题 : windows 10 and Ubuntu

UWP : How to avoid style name(x:Name) in Templete Control Development?

c# - Visual Studio 2019 : Cannot get rid of warning on VC++ 2015 runtime not found

c# - 如何使用 Windows.Storage API 创建路径?