如何生成 .appxupload 文件? [英] How to generate .appxupload file?

查看:21
本文介绍了如何生成 .appxupload 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建一个用于在 ARM CPU 上发布的包.

I am trying to build a package for Release on ARM CPU.

当我在使用 Compile with .NET Native tool chain" 的情况下构建它时,该包构建失败并向我抛出一个错误,指出 error : ILT0021: could not resolve method 'System.Nullable<System.Double>$95_Windows.Graphics.Display.DisplayInformation.get_DiagonalSizeInInches()'.

When I built it with "Compile with .NET Native tool chain" checked, the package failed to build and threw me an error which states error : ILT0021: Could not resolve method 'System.Nullable<System.Double> $95_Windows.Graphics.Display.DisplayInformation.get_DiagonalSizeInInches()'.

当我在未选中 Compile with .NET Native tool chain" 的情况下构建它时,没有错误并且包已成功创建,但是编译器生成了 .appx 文件.要让 Windows 应用商店接受应用包,包必须是 .appxupload.

When I built it with "Compile with .NET Native tool chain" unchecked, there are no error and the package were successfully created, BUT the compiler generates the .appx file. For Windows Store to accept the app package, the package have to be .appxupload.

我今天应该上传应用程序包,有人遇到过这种问题吗?如果是这样,请教我如何解决这个问题.提前致谢.

I am supposed to upload the app package today, anybody have ever experienced this kind of problem? If so, please teach me how to solve this. Thank you in advance.

以防万一这有帮助,这是我的扩展/外部库;-AdDuplexWin10,- 分析员,-Microsoft.NETCore.UniversalWindowsPlatform,- 通用窗口,-适用于 UWP 的 Windows Mobile 扩展

Just in case this helps, here is my extensions/external libraries; -AdDuplexWin10, -Analyzers, -Microsoft.NETCore.UniversalWindowsPlatform, -Universal Windows, -Windows Mobile Extensions for the UWP

而且,我没有使用 Template10.

And, I did not use Template10.

推荐答案

我已经更新了我的 Visual Studio,有什么变化是我可以将 Project > App Properties > Application > Target Version 从Build 10240"更改为Build 10586"".完成所有这些后,我可以成功构建包.似乎 错误:ILT0021:无法解析方法 'System.Nullable$95_Windows.Graphics.Display.DisplayInformation.get_DiagonalSizeInInches() 只针对build 10240...希望这个问题不要再出现了:)

I have updated my Visual Studio, what has changes is that I can change Project > App Properties > Application > Target Version to "Build 10586" from "Build 10240". After done all these, I can build the package successfully. It seems that the error : ILT0021: Could not resolve method 'System.Nullable<System.Double> $95_Windows.Graphics.Display.DisplayInformation.get_DiagonalSizeInInches() is only for the build 10240... I hope this problem will not rise again :)

这篇关于如何生成 .appxupload 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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