desktop6:Extension

Description

Declares an extensibility point for the app.

Element Hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<desktop6:Extension>

Syntax

<desktop6:Extension Category       = "windows.service"
                    Executable?    = A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used.  If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used.
                    EntryPoint?    = A string between 1 and 256 characters in length, representing the  task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead.
                    RuntimeType?   = A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.
                    StartPage?     = A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. >

  <!-- Child elements -->
  desktop6:Service?

</desktop6:Extension>

Key

? optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required
Category The category of the extension. The following is supported: windows.service Yes
Executable The default launch executable. A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: &lt:, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used. If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used. No
EntryPoint The activatable class ID. A string between 1 and 256 characters in length, representing the task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead. No
RuntimeType The runtime provider. This attribute is used typically when there are mixed frameworks in an app. A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, , |, ?, or *. No
StartPage The web page that handles the extensibility point. A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. No

Child Elements

Child Element Description
desktop6:Service Specifies a service that is installed and registered along with the app. These services can be configured to run under either the Local Service, Network Service or Local System account.

Parent Elements

Parent Element Description
Extensions (type: CT_ApplicationExtensions) Defines one or more extensibility points for the application.

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/desktop/windows10/6