uwp - uwphost.dll 是什么?

标签 uwp windows-10 win-universal-app windows-store .net-native

我正在尝试为 Windows 应用商店认证我的 UWP 应用程序,但我收到一条消息,指出 中的几种方法uwphost.dll 与商店不兼容。

API ExecuteAssembly in uwphost.dll is not supported for this application type. GammaFour.InvestmentManagement.Client.exe calls this API.
API DllGetActivationFactory in uwphost.dll is not supported for this application type. GammaFour.InvestmentManagement.Client.exe has an export that forwards to this API.

这令人不安,因为我没有明确添加这个库,也不知道如何解决这个问题。有任何想法吗?

最佳答案

UWPHost.dll 是一个帮助程序库,Visual Studio 在关闭 .NET native 编译的情况下(例如用于调试)将其添加到您的包中。

在创建用于商店提交的包时,请确保 .NET native 编译已打开(默认情况下,对于发布版本,它是打开的)。这应该可以解决您的问题。

关于uwp - uwphost.dll 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55643010/

相关文章:

xaml - Behaviors SDK 的行为不一致

xaml - ContentDialog 不滚动

c# - uwp无法保存文件

hadoop - 如何在Windows 10上安装没有HDFS的Hive

docker - 在docker quickstart终端中运行docker run hello-world时来自守护程序的错误响应 “proxyconnect tcp: EOF”

raspberry-pi - 如何使用 Windows 通用应用程序设置设备的 IP 地址?

uwp - 模板化 ItemsControl 的弹出窗口中的 ItemsPresenter 在第一次显示时仅显示 1 个项目,在第二次显示时加载所有内容

visual-studio - 使用CMake构建LLVM错误: NMake Makefiles does not support toolset specification

c# - UWP 使用 GetBindingExpression 和 x :Bind

c# - x :Bind and UserControls