我有一个桌面应用程序,它使用 MSIX 打包工具转换为 UWP 应用程序。我需要支持所有版本的 Windows,所以我手动更新了清单文件中的 TargetDeviceFamily MinVersion 和 MaxVersionTested。但是当我将 msix 包上传到 Windows 商店时,我收到了错误:
您无法上传面向 Windows MinVersion <= 10.0.17134.0 的 msix/msixbundle/msixupload 包。
下面是我修改的代码。
“我已经在我的系统上安装了 Windows 10 SDK 10.0.10240 和 10.0.18362.1。此外,我还引用了几个 dll 来访问 Windows api。我已按照针对 sdk 版本 10.0.18362.0 的链接中的建议手动引用了 dll。https :/ /docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-enhance
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.10240.0" MaxVersionTested="10.0.18335.0" />
</Dependencies>
如何为我的 UWP 应用程序支持所有版本的 Windows(使用 MSIX 打包工具转换)?
我的系统上安装的版本:10.0.17763