uwphost.dll 是什么? [英] What is uwphost.dll?

查看:50
本文介绍了uwphost.dll 是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to certify my UWP application for the Windows Store and I'm getting a message that several methods in uwphost.dll aren't compatible with the store.

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.

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

This is disturbing because I didn't explicitly add this library and have no idea how to fix the problem. Any ideas?

推荐答案

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

UWPHost.dll is a helper library that Visual Studio adds to your package in scenarios where .NET native compilation is turned off (e.g. for debugging).

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

When creating a package for store submission, make sure .NET native compilation is turned on (it is on by default for Release builds). This should address your problem.

这篇关于uwphost.dll 是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆