简体   繁体   中英

Targeting windows versions in uwp apps

I have a desktop app which is converted to UWP app using MSIX packaging tool. I need to support all version of windows so I have manually updated the TargetDeviceFamily MinVersion and MaxVersionTested in manifest file. But when I am uploading the msix package to Windows store I am getting the error :

You cannot upload msix/msixbundle/msixupload packages that targets Windows MinVersion <= 10.0.17134.0.

Below is the code that I have modified.

"I have installed Windows 10 SDK 10.0.10240 and 10.0.18362.1 on my system. Also I am referencing few dlls for accessing windows apis. I have manually referenced the dlls as suggested in this link targeting sdk version 10.0.18362.0. 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>

How do I support all version of windows for my UWP app(Converted using MSIX Packaging tool) ?

Version installed on my system : 10.0.17763

MSIX was officially introduced with version 1809 of Windows 10, and Microsoft then added support for it to the April 2018 Update (version 1803) and the October 2017 Fall Creators Update (version 1709).

It's not supported on earlier versions. Please refer to the support matrix in the offical docs .

You may create an APPX package for earlier versions. There is no crucial difference between an APPX and an MSIX package really: Can desktop app desktop-bridged via Visual Studio call UWP APIs?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM