Extension (in Package/Extensions) (Windows 10)

Declares an extensibility point for the package.

Element hierarchy

<Package>
<Extensions>
<Extension>

Syntax

<Extension Category = "windows.activatableClass.inProcessServer" | "windows.activatableClass.outOfProcessServer" | "windows.activatableClass.proxyStub" | "windows.certificates" | "windows.publisherCacheFolders" | "windows.comInterface" | "windows.loaderSearchPathOverride"
           uap10:TrustLevel?       = String value. Can be one of the following: "appContainer", "mediumIL".
           uap10:RuntimeBehavior?  = String value. Can be one of the following: "windowsApp", "packagedClassicApp", "win32App".
           uap10:HostId?           = An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character.
           uap10:Parameters?       = A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. >

  <!-- Child elements -->
  ( InProcessServer
  | OutOfProcessServer
  | ProxyStub
  | Certificates
  | PublisherCacheFolders
  | com:ComInterface
  | uap6:LoaderSearchPathOverride
  )

</Extension>

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
Category

The type of package extensibility point.

This attribute can have one of the following values:

  • windows.activatableClass.inProcessServer
  • windows.activatableClass.outOfProcessServer
  • windows.activatableClass.proxyStub
  • windows.certificates
  • windows.publisherCacheFolders
  • windows.comInterface
  • windows.loaderSearchPathOverride
Yes
uap10:TrustLevel

Specifies the trust level of the extension.

String value. Can be one of the following: "appContainer", "mediumIL". No
uap10:RuntimeBehavior

Specifies the run time behavior of the extension.

String value. Can be one of the following: "windowsApp", "packagedClassicApp", "win32App". No
uap10:HostId

This value specifies the app ID of the host app for the extension.

An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. No
uap10:Parameters

Contains command line parameters for the extension.

A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. No

 

Child Elements

Child Element Description
Certificates

Declares a package extensibility point of type windows.certificates. The app requires one or more certificates from the specified certificate stores.

InProcessServer

Declares a package extensibility point of type windows.activatableClass.inProcessServer. The app uses a dynamic link library (DLL) that exposes one or more activatable classes.

OutOfProcessServer

Declares a package extension point of type windows.activatableClass.outOfProcessServer. The app uses an executable (EXE) that exposes one or more activatable classes.

ProxyStub

Declares a package extensibility point of type windows.activatableClass.proxyStub. A proxy can be composed of one or more interfaces.

PublisherCacheFolders

Declares a package extensibility point of type windows.publisherCacheFolders. This specifies one or more folders that the package shares with other packages from the same publisher.

com:ComInterface

Declares a package extension point of type windows.comInterface.

uap6:LoaderSearchPathOverride

Declares a package extension point of type windows.loaderSearchPathOverride.

 

Parent Elements

Parent Element Description
Extensions (type: CT_PackageExtensions)

Defines one or more extensibility points for the package.

 

The following elements have the same name as this one, but different content or attributes:

Remarks

Extensibility points are a mechanism by which a package can add functionality in a manner defined by the operating system. An extensibility point is a location where an app can register to execute code or use resources of the current package. To add functionality for a particular app, use the Application child element of the Applications element.

The windows.certificates extensibility point can't be declared multiple times in a manifest.

See also

Concepts App contracts and extensions

Requirements

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

http://schemas.microsoft.com/appx/manifest/uap/windows10/10 (for the uap10 attributes)