简体   繁体   中英

Is it possible to create a UWP app for different windows 10 builds?

I use "NavigationView" in my project but It works in windows 10 build 16299 or higher so I should use "SplitView" for lower builds. Now I like to know : Is it possible to create a UWP app for different windows 10 builds?

The answer to your question is: yes, you can build different versions of your app package that target different ranges of Windows 10 build numbers. For example you can submit a package that targets 16299 and another one for 15063 and below. The Store will then deliver the right package to the user.

However, a better way to accomplish the same result is to make your app adaptive to the OS version, as explained on MSDN here: https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/version-adaptive-apps

Starting with build 15063 version adaptive code can also be used in XAML, as explained here: https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/conditional-xaml

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