UWP 应用程序 WACK 失败并出现多个错误 [英] UWP App Failing WACK with Multiple Errors

查看:34
本文介绍了UWP 应用程序 WACK 失败并出现多个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去我已经成功开发了一些 UWP 应用并将其部署到 MS Store.目前,在尝试通过 WACK 测试时,出现了大量我从未遇到过的意外故障.

In the past I have successfully developed and deployed a few UWP apps to the MS Store. Currently getting a large number of unexpected failures, of types that I've never had before, when trying to pass the WACK test.

我在 2017 年 11 月开始了这个特定的项目.从技术上讲,它并不是那么先进,从代码的角度来看,我没有做任何我之前没有成功通过 WACK 的事情.

I started this specific project in Nov 2017. Technically it's not that advanced, from a code perspective I'm not doing anything I haven't successfully passed through WACK before.

  • VS 2017 社区 v15.8.8
  • Project Target (& Min) 版本:Windows 10 Anniversary Edition 10.0;构建 14393
  • (WACK) 套件版本:10.0.17763.132
  • 操作系统版本:Microsoft Windows 10 专业版 (10.0.17134.0)

更新:2 月 5 日 在尝试使用 VS 默认值(目标版本:1803 版本 17134,最小版本:Creators 更新版本 15063)传递全新应用程序时,我也遇到了失败.我得到的错误少了很多,但仍然有一些意想不到的错误.

更新:2 月 7 日这个问题/答案也有帮助:完全空白的 Unity/Microsoft Store Build 未通过 WACK 测试

错误包括(但不限于):

Errors include (but not limited to):

  • 字节码生成发现错误:字节码生成测试检测到以下错误:

  • Bytecode generation Error Found: The bytecode generation test detected the following errors:

System.NullReferenceException:未将对象引用设置为对象的实例.在 Microsoft.Windows.SoftwareLogo.Tests.Utility.IsPackageWWA(AppXPackage 包) 在 Microsoft.Windows.SoftwareLogo.Tests.BytecodeGenerationCheck.BytecodeGenerationCheck.ExecuteSharedValidation(String manifestFilePath, String packageFullName) 在 Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Windows.SoftwareLogo.Tests.Utility.IsPackageWWA(AppXPackage package) at Microsoft.Windows.SoftwareLogo.Tests.BytecodeGenerationCheck.BytecodeGenerationCheck.ExecuteSharedValidation(String manifestFilePath, String packageFullName) at Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

平台版本启动 发现错误:高操作系统版本验证检测到以下错误:

Platform version launch Error Found: The high OS version validation detected the following errors:

System.NullReferenceException:未将对象引用设置为对象的实例.在 Microsoft.Windows.SoftwareLogo.Tests.Utility.LaunchAppTest(String packageFullName, String manifestFilePath, String testName) 在 Microsoft.Windows.SoftwareLogo.Tests.HighOSVersionLaunchCheck.HighOSVersionLaunchCheck.Test(UapApp uapApp) 在 Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Windows.SoftwareLogo.Tests.Utility.LaunchAppTest(String packageFullName, String manifestFilePath, String testName) at Microsoft.Windows.SoftwareLogo.Tests.HighOSVersionLaunchCheck.HighOSVersionLaunchCheck.Test(UapApp uapApp) at Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

应用启动发现错误:应用启动测试检测到以下错误:

App launch Error Found: The app launch test detected the following errors:

System.NullReferenceException:未将对象引用设置为对象的实例.在 Microsoft.Windows.SoftwareLogo.Tests.Utility.LaunchAppTest(String packageFullName, String manifestFilePath, String testName) 在 Microsoft.Windows.SoftwareLogo.Tests.LaunchAppCheck.LaunchAppCheck.Test(UapApp uapApp) 在 Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Windows.SoftwareLogo.Tests.Utility.LaunchAppTest(String packageFullName, String manifestFilePath, String testName) at Microsoft.Windows.SoftwareLogo.Tests.LaunchAppCheck.LaunchAppCheck.Test(UapApp uapApp) at Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest()

有什么想法吗?我已经卸载了我的应用程序,然后重新启动,仍然没有成功.

Any ideas? I've uninstalled my App, and rebooted, still no success.

推荐答案

如果可以成功生成包,但在本地机器上 WACK 失败.您可以忽略它并直接将您的包上传到开发中心.如果你能在线通过MS商店WACK,那么你的包裹就没有问题.

If you can generate package successfully, but WACK failed on local machine. You could ignore it and upload your package to dev center directly. If you can pass the MS store WACK online, then there's no problem with your package.

这篇关于UWP 应用程序 WACK 失败并出现多个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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