Properties
Réduire la table des matières
Développer la table des matières

Properties

Defines additional metadata about the package including attributes that describe how the package appears to users.

Remarque  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.
 

Hiérarchie d’éléments

<Package>
<Properties>

Syntaxe

<Properties>

  <!-- Child elements -->
  ( Framework?
  & DisplayName
  & PublisherDisplayName
  & Description?
  & Logo
  )

</Properties>

Clé

?   facultatif (zéro ou un)
&   connecteur entrelacé (peut se produire dans n’importe quel ordre)

Attributes and Elements

Attributes

None.

Child Elements

Child ElementDescription
Description

A friendly description that can be displayed to users.

DisplayName

A friendly name that can be displayed to users.

Framework

Indicates whether the package is a framework package; that is, a package that 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 framework.

Logo

A path to a file that contains an image.

PublisherDisplayName

A friendly name for the publisher that can be displayed to users.

 

Parent Elements

Parent ElementDescription
Package

Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system.

 

Exemples

The following example is taken from the package manifest of one of the SDK samples.


<Properties>
    <DisplayName>ApplicationData SDK Sample</DisplayName>
    <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
    <Description>The application data sample.</Description>
    <Logo>images\storeLogo-sdk.png</Logo>
</Properties>

Voir aussi

Package details
Naming and describing your app

Configuration requise

Espace de noms

http://schemas.microsoft.com/appx/2010/manifest

 

 

Afficher:
© 2017 Microsoft