<mx:AllowedProduct> Element

Parent title for a downloadable content package.

Syntax

<mx:AllowedProduct
  Id = string />  

Attributes

Id
The product ID of the parent title for the downloadable content package.

Element information

Parent elements mx:ContentPackage

Remarks

At development time, when deploying and running your app using F5, the product ID of your exclusive partition title (the parent) will always have a null (all zero) GUID. When the parent title is ingested into the catalog, it will receive a real product ID. You will then need to update your DLC AppxManifest.xml file with the real product ID of the parent title. This can be simulated in development with Make Package (makepkg.exe) using the /ProductID flag to set the product ID of your parent title.

Example

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest"
         xmlns:mx="http://schemas.microsoft.com/appx/2013/xbox/manifest"
         IgnorableNamespaces="mx">

  <Identity Name="MarbleMaze.DLC.Eyeball"
            Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
            Version="1.0.0.0" />

  <Properties>
    <DisplayName>Eyeball Marble DLC</DisplayName>
    <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
    <Logo>logo.png</Logo>
    <Description>Eyeball Marble DLC for MarbleMaze</Description>
    <mx:ContentPackage>true</mx:ContentPackage>
  </Properties>

  <Prerequisites>
    <OSMinVersion>6.2</OSMinVersion>
    <OSMaxVersionTested>6.2</OSMaxVersionTested>
    <mx:ApplicationEnvironment>title</mx:ApplicationEnvironment>
    <mx:OSName>era</mx:OSName>
  </Prerequisites>

  <Resources>
    <Resource Language="en-US" />
  </Resources>

  <Extensions>
    <mx:PackageExtension Category="xbox.contentpackage">
      <mx:ContentPackage>
        <mx:AllowedProduct Id="0eafd21d-2911-4be5-95fb-6dc0b50b6152" />
        <mx:ContentPackageVisualElements
            DisplayName="ATG Sample Durable DLC 1"
            Logo="Logo.png"
            SmallLogo="Logo.png"
            WideLogo="Logo.png"
            Description="ATG Sample Durable DLC 1"
            ForegroundText="dark"
            BackgroundColor="#000040" />
      </mx:ContentPackage>
    </mx:PackageExtension>
  </Extensions>
</Package>