Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c#

xaml

uwp

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?

like image 668
Mohamad Kahfie Avatar asked Apr 07 '18 08:04

Mohamad Kahfie


People also ask

Are UWP apps cross platform?

Well this is where the Uno Platform kicks in – the platform today uses UWP as the definition for the cross platform APIs. In essence, the apps you build for Windows using UWP can be taken cross platform to iOS, Android, Web etc by leveraging Uno.

Are all Windows Store apps UWP?

All apps ARE NOT necessarily UWP apps. Windows 8.1 apps do run on Windows 10, just not the other way around. Not every company or indie developer has updated their apps to support UWP. All apps that were previously in the store for Windows Phone 8.1 and Windows 8.1 will still run and be available respectively.

Is UWP universal?

Windows 10 introduced the Universal Windows Platform (UWP), which provides a common app platform on every device that runs Windows. The UWP core APIs are the same on all Windows devices.


1 Answers

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

like image 141
Stefan Wick MSFT Avatar answered Sep 28 '22 02:09

Stefan Wick MSFT