:::: MENU ::::

Customizing target device family of UWP app

Windows 10 apps are universal so it runs on any device which have Win10 as operating system but it doesn’t mean that we can’t customize the target device family of app. Here is how you can change the target device family of your app to other specific platform:

Steps:

  • Right click to Package.appxmanifest file and open with XML (text) editor
  • There you will see all the configuration of your app in XML and search for <Dependencies> tag
  • Inside <Dependencies> you will see TargetDeviceFamily tag which contains Name attribute
  • You have to change Name attribute value to your platform choice like mobile, desktop or universal
  • Here is how you can do.

For Desktop:

For Universal:

For Mobile:

To know more about target device family here is msdn reference.

Happy Coding 🙂