Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is 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?

like image 204
Quarkly Avatar asked Apr 12 '19 00:04

Quarkly


1 Answers

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).

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.

like image 186
Stefan Wick MSFT Avatar answered Nov 15 '22 08:11

Stefan Wick MSFT