Application Descriptor of native C# API application for Windows 8
The application descriptor is a metadata file used to define various aspects of the native API application for Windows 8.
The application descriptor is a metadata file used to define various aspects of the application. It is in the application root directory, and its name is application-descriptor.xml.
The following example shows the format of the application descriptor file of native API applications for Windows 8:
<?xml version="1.0" encoding="UTF-8"?> <nativeWindows8App xmlns="http://www.worklight.com/native-windows8-descriptor" id="name of the app" platformVersion="6.2.0" version="1.0"> <displayName>application display name</displayName> <description>application descriptor</description> </nativeWindows8App>The <nativeWindows8App> element is the root element of the descriptor. This element has three mandatory attributes:
- id
- This attribute specifies the ID of the application. The ID must be identical to the application folder name. It must be an alphanumeric string that starts with a letter. It can contain underscore ("_") characters. It must not be a reserved word in JavaScript.
- platformVersion
- This attribute contains the version of MPF on which the app was developed.
- version
- This attribute specifies the version of the application. This version is a string of the form x.y, where x and y are numbers. It is visible to users who download the app from the app store or market.
<displayName>application display name</displayName>
- <displayName>
- This element contains the application name. This name is visible in the operations console and is copied to the descriptor files of various web and desktop environments.
<description>application description</description>
- <description>
- This element contains the application description. This description is visible in the operations console and is copied to the descriptor files of various web and desktop environments.
</nativeWindows8App>
- </nativeWindows8App>
- This tag closes the content of the application descriptor file.
Parent topic: Develop native C# applications for Windows 8