O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Leveraging Resource Packages

Windows 8.1 and later support resource packages, which separate your assets such that devices no longer have to download every variation of every resource in your app if they won’t be used. For example, if your app provides resources for multiple languages, Windows only needs to download ones corresponding to the language(s) in use on the device.

Leveraging this support is as simple as telling the packaging wizard to generate an app bundle when you select Store, Create App Packages... in Visual Studio. As shown in Figure 11.5, you can select Always or If Needed. The latter generates an app bundle only if you’ve defined scale-specific or language-specific resources.

FIGURE 11.5 When you generate an app bundle, any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required