什么是uwphost.dll?

问题描述 投票:2回答:1

我正在尝试为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.

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

uwp windows-10 win-universal-app windows-store .net-native
1个回答
3
投票

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

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

© www.soinside.com 2019 - 2024. All rights reserved.