gpt4 book ai didi

c# - 完全空白 Unity/Microsoft Store Build 未通过 WACK 测试

转载 作者:行者123 更新时间:2023-11-30 17:28:56 25 4
gpt4 key购买 nike

我一直在尝试在 Unity 2018.2.1f1Visual Studio 2017 15.8.0 中成功构建我的游戏。

在尝试为具有所有/每个不同配置的Windows商店成功构建/打包/WACK失败后,我尝试了一个完全空白默认Unity,UWP平台app,生成了一个visual studio项目。生成了一些图标,并将其与我在商店中的应用程序相关联。构建、打包并运行 WACK 测试。

FAILED

Supported APIs

Error Found: The supported APIs test detected the following errors: API ExecuteAssembly in uwphost.dll is not supported for this application type. WinTest2.exe calls this API. API DllGetActivationFactory in uwphost.dll is not supported for this application type. WinTest2.exe has an export that forwards to this API. Impact if not fixed: Using an API that is not part of the Windows SDK for Microsoft Store apps violates the Microsoft Store certification requirements. How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Microsoft Store apps. Please note, apps that are built in a debug configuration or without .NET Native enabled (where applicable) can fail this test as these environments may pull in unsupported APIs. Retest your app in a release configuration, and with .NET Native enabled if applicable. See the link below for more information:

我必须做些什么才能成功构建可以实际进入商店的应用程序。 (什么配置,什么unity/visual studio版本。)我已经尝试了unity 2018.2.12018.2.2(我认为)的更高版本并且无法成功建立他们。

前一段时间,我无法从 Unity 中成功构建,所以我重新安装了 Win 10 Pro、Unity 和 Visual Studio。问题仍然存在。

最佳答案

感谢 StormBringerStudios,我得到了有效的答案。

"Just Got Visual Studio 2017 15.7.6 version. works like a charm.

So here is my Solution is anyone will search this kind of problem DONT USE VS 2017 15.8.X.

Downgrade to 15.7.6 and you will be good :)

Microsoft certification also passed."

关于c# - 完全空白 Unity/Microsoft Store Build 未通过 WACK 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51875991/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com