Hi,
To make the package installable only on Windows 11 (and future builds), just raise the MinVersion in your TargetDeviceFamily to the first Windows 11 build number (or a later one if you prefer). Windows 11 still reports its OS version with major/minor 10.0; the distinction from Windows 10 is in the build number.
Windows build number landmarks (desktop):
- Windows 10 final servicing builds: 19041 / 19042 / 19043 / 19044 / 19045 (21H2/22H2) – all < 20000
- Windows 11 21H2: 22000
- Windows 11 22H2 / 23H2 base: 22621 / 22631
- Windows 11 24H2: 26100 (GA)
(Your 26226 looks like a newer flight / Insider build.)
So if you set MinVersion to 10.0.22000.0 you exclude all Windows 10 devices. Anything below build 22000 (i.e., Windows 10) will not meet the dependency and the Store will not offer Install.
Example:
<Dependencies>
<TargetDeviceFamily
Name="Windows.Desktop"
MinVersion="10.0.22000.0"
MaxVersionTested="10.0.26226.0" />
</Dependencies>
Notes:
- MinVersion is the hard floor: the app will not install on lower OS builds.
- MaxVersionTested is NOT a cap; it tells the Store/OS what you’ve validated against. Higher builds can still install; the OS may apply compatibility modes if needed.
Pick the earliest Windows 11 build you intend to support (usually 22000 or 22621 if you rely on newer APIs) and set that as MinVersion. That’s all you need.
As Linhnguyen Hanoi has pointed out, you can also check for which packages will be offered to specific Windows 10 or Windows 11 device families under Packages section in Microsoft Partner Center.
For more information, check out Upload MSIX app packages - Windows apps | Microsoft Learn
Also if you want a guide on how to publish Windows apps through Microsoft store, check out this documentation Publish Windows apps and games to Microsoft Store - Windows apps | Microsoft Learn
I hope this helps. Feel free to reach out if you need any help.