Using ResourcePackage in manually created package RRS feed

  • Question

  • Hi,

    I am currently trying to create a ResourcePackage, which can be depended on from a regular Application Package. Unfortunately I do fail on the first stage already.


    states that you should set <ResourcePackage> to true with certain limitations mentioned at the end of the document. However, when I try to add this as development package via

    Add-AppxPackage -Register .\AppManifest.xml

    I get the following error:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80080204, The Appx package's manifest is invalid.
    error 0xC00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 6,
    Reason: Element '{http://schemas.microsoft.com/appx/2010/manifest}ResourcePackage' is unexpected according to content
    model of parent element '{http://schemas.microsoft.com/appx/2010/manifest}Properties'.
    NOTE: For additional information, look for [ActivityId] da9e78d6-1817-0001-c280-9eda1718cf01 in the Event Log or use
    the command line Get-AppxLog -ActivityID da9e78d6-1817-0001-c280-9eda1718cf01
    At line:1 char:1

    The error message indicates, that ResourcePackage should not be specified inside the Properties, but that is what the documentation states?

    The corresponding part in the Manifest looks like this:

        <PublisherDisplayName>Some Developer</PublisherDisplayName>

    So, is there some user error? Maybe resource packages cannot be created in development mode like frameworks? But in that case the error message is misleading, hence I assume something else to be wrong.

    Thx for your help.

    Friday, January 24, 2014 7:48 AM