Properties
Recolher sumário
Expandir sumário

Properties

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

Observação  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.
 

Hierarquia de elementos

<Package>
<Properties>

Sintaxe

<Properties>

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

</Properties>

Chave

?   opcional (zero ou um)
&   conector de intercalação (pode ocorrer em qualquer ordem)

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.

 

Exemplos

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>

Consulte também

Package details
Naming and describing your app

Requisitos

Namespace

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

 

 

Mostrar:
© 2016 Microsoft