Upravit

Sdílet prostřednictvím


ResourcePackage (Windows 10)

Indicates whether the package is a resource package. A resource package can be used by other packages. Its value is false by default. You should not specify a value for it unless you are creating a resource.

Element hierarchy

<Package>

    <Properties>

         <ResourcePackage>

Syntax

<ResourcePackage>
  A boolean value.
</ResourcePackage>

Attributes and elements

Attributes

None.

Child elements

None.

Parent elements

Parent element Description
Properties Defines additional metadata about the package including attributes that describe how the package appears to users.

Note

You may get an error if the manifest elements DisplayName or Description contain characters disallowed by the Windows firewall; namely | and all, due to which Windows fails to create the AppContainer profile for the package. Use this reference for troubleshooting if you get an error.

Remarks

If ResourcePackage is set to true, the manifest performs these semantic checks, which aren't enforced in the schema. A manifest that violates these semantic checks will just fail to validate via the Packaging APIs.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10