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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access