Skip to content

Commit

Permalink
Merged PR 12951: Optional Packages: Clarify that 1703 is the minimum …
Browse files Browse the repository at this point in the history
…(not exact) version

Optional Packages: Clarify that 1703 is the minimum (not exact) version required for optional package support.

Also fix a formatting issue with the "IMPORTANT" callout.
  • Loading branch information
oldnewthing authored and mcleanbyron committed Dec 4, 2018
1 parent bb2a6cc commit 320e47e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions windows-apps-src/packaging/optional-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ While you're reading this article, it's recommended that you follow along with t

## Optional packages
To create an optional package in Visual Studio, you'll need to:
1. Make sure your app's **Target Platform Min Version** is set to: 10.0.15063.0.
1. Make sure your app's **Target Platform Min Version** is set to: 10.0.15063.0 or higher.
2. From your **main package** project, open the `Package.appxmanifest` file. Navigate to the "Packaging" tab and make a note of your **package family name**, which is everything before the "_" character.
3. From your **optional package** project, right click the `Package.appxmanifest` and select **Open with > XML (Text) Editor**.
4. Locate the `<Dependencies>` element in the file. Add the following:
Expand Down Expand Up @@ -56,6 +56,7 @@ If you want to load code from an optional package into the main package, you wil
2. From the window, search the Installed Templates for ".txt" and add a new text file.
> [!IMPORTANT]
> The new text file must be named: `Bundle.Mapping.txt`.
3. In the `Bundle.Mapping.txt` file you'll specify relative paths to any optional package projects or external packages. A sample `Bundle.Mapping.txt` file should look something like this:

```syntax
Expand All @@ -69,7 +70,7 @@ If you want to load code from an optional package into the main package, you wil

When your solution is configured this way, Visual Studio will create a bundle manifest for the main package with all of the required metadata for related sets.

Note that like optional packages, a `Bundle.Mapping.txt` file for related sets will only work on Windows 10, version 1703. Additionally, your app's Target Platform Min Version should be set to 10.0.15063.0.
Note that like optional packages, a `Bundle.Mapping.txt` file for related sets will only work on Windows 10, version 1703 or higher. Additionally, your app's Target Platform Min Version should be set to 10.0.15063.0 or higher.

## Known issues<a name="known_issues"></a>

Expand Down

0 comments on commit 320e47e

Please sign in to comment.