<Application> Element

An app that comprises part of or all of the functionality delivered in the package.

This element is required.

Syntax

<Application
  Id = string
  Executable = string
  EntryPoint = string >
</Application>  

Attributes

Id
The unique identifier of the application within the package. The ID is unique within the package but not globally. There may be another package on the system that uses the same ID. The same ID cannot be used more than once in the same package. This string contains alpha-numeric fields separated by periods. Each field must begin with an ASCII alphabetic character.

Executable
The default launch executable for the app. This file must be present in the package.

EntryPoint
The activatable class ID, such as “Direct3DGame2.App”. For exclusive applications with multiple executables (debug, release, etc.), this value will be the same for all of the defined executables.

Element information

Parent elements Applications
Child elements Extensions, VisualElements, mx:Ratings

Example

<Applications>
  <Application Id="App"
      Executable="$targetnametoken$.exe"
      EntryPoint="Direct3DGame2.App">
    <VisualElements
        DisplayName="Direct3DGame2"
        Logo="Logo.png"
        SmallLogo="SmallLogo.png"
        Description="Direct3DGame2"
        ForegroundText="light"
        BackgroundColor="#464646">
      <SplashScreen Image="SplashScreen.png" />
    </VisualElements>
  </Application>
</Applications>  

See also

How to: Enable Multiple Build Configurations in a Single Deployment