windowsuwppackagingwinui-3

Packaging Multiple UWP applications into 1 container with Microsoft Store


I'd like to bundle multiple launchable UWP apps into 1 single container for sharing the local data.

We can think it of as

which will share the same LocalState folder, but they will have their own application registry and they'll be able to be launched individually.

Things I've thought about to make it happen:

Switching to WinAppSDK for making an application bundle and side loading is not an option for me.

Is there any other way to make it happen other than the provided approaches above?


Solution

  • Looks like only way to achieve shared data between two apps is to have them use publisherCacheFolders

    If you own both applications they can share data using specified folders in the manifest.

    Also one note, this extension must be defined under "Package" tag instead of "Application" in the manifest. Otherwise you'll get invalid schema errors during AppxManifest generation and your builds won't complete.