问题描述
我一直试图在 Unity 2018.2.1f1 和 Visual Studio 2017 15.8.0 中为我的游戏成功构建一个版本.
I have been trying to get a successful build for my game in Unity 2018.2.1f1 and Visual Studio 2017 15.8.0.
尝试使用所有/每个不同的配置为Windows存储成功获取成功的构建/打包/WACK后,我尝试了完全空白的默认Unity UWP平台应用程序,生成了一个Visual Studio项目.生成了一些图标,并将其与我在商店中拥有的应用相关联.编译,打包并运行WACK测试.
After trying unsuccessfully to get a successful build / package / WACK for the windows store with all/every different configuration, I tried a totally blank default Unity, UWP platform app, generated a visual studio project. generated some icons, associated it with an app I had in the store. Built it, packaged it and run the WACK tests.
支持的API
发现错误:受支持的API测试检测到以下错误: 此应用程序类型不支持uwphost.dll中的API ExecuteAssembly. WinTest2.exe调用此API. 此应用程序类型不支持uwphost.dll中的API DllGetActivationFactory. WinTest2.exe具有导出到该API的导出. 如果未解决则产生的影响:使用不属于Microsoft Store应用程序的Windows SDK的API违反了Microsoft Store认证要求. 如何解决:查看错误消息,以识别不属于Microsoft Store应用程序的Windows SDK的API.请注意,在调试配置中构建的应用程序或未启用.NET Native的应用程序(如果适用)可能会失败,因为这些环境可能会引入不受支持的API.在发布配置中重新测试您的应用程序,并在适用的情况下启用.NET Native.有关更多信息,请参见下面的链接:
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:
要成功构建能够真正进入商店的应用程序,我该怎么做. (什么配置,什么单位/Visual Studio版本.)我尝试了 unity 2018.2.1 和 2018.2.2 的更高版本(我认为),但没有成功建立在他们身上.
What do I have to do to make a successful app build that I can actually get into the store. (What configuration, what unity / visual studio versions.) I have tried later versions of unity 2018.2.1 and 2018.2.2 (i think) and could not get a successful build out of them.
前一段时间,我无法从Unity中成功构建,所以我重新安装了Win 10 Pro,Unity和Visual Studio.问题仍然存在.
A while ago, i could not get a successful build out of Unity, so I reinstalled Win 10 Pro, Unity and Visual Studio. Still problems persist.
推荐答案
感谢StormBringerStudios,我收到了一个有效的答案.
Thanks to StormBringerStudios I received an answer that works.
所以这是我的解决方案,任何人都将搜索这种问题不要使用VS 2017 15.8.X .
So here is my Solution is anyone will search this kind of problem DONT USE VS 2017 15.8.X.
降级到 15.7.6 ,您会很好:)
Microsoft认证也通过了."
Microsoft certification also passed."
这篇关于完全空白的Unity/Microsoft Store Build无法通过WACK测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!