<assemblyIdentity> Element (ClickOnce Reference) 

Identifies the application deployed in a ClickOnce deployment.

<assemblyIdentity 
   name
   version
      publicKeyToken
      processorArchitecture
      language
/>

Elements and Attributes

The assemblyIdentity element is required. It contains no child elements and has the following attributes.

Attribute Description

Name

Required. Identifies the name of the application.

If Name contains special characters, such as single or double quotes, the application may fail to activate.

Version

Required. Specifies the version number of the application in the following format: major.minor.build.revision

publicKeyToken

Optional. Specifies a 16-character hexadecimal string that represents the last 8 bytes of the SHA-1 hash value of the public key under which the application or assembly is signed. The public key used to sign the catalog must be 2048 bits or greater.

processorArchitecture

Required. Specifies the processor. The valid values are x86 for 32-bit Windows and IA64 for 64-bit Windows

language

Required. Identifies the two part language codes (for example, en-US) of the assembly. This element is in the asmv2 namespace. If unspecified, the default is neutral.

Examples

The following code example illustrates an assemblyIdentity element in a ClickOnce application manifest. This code example is part of a larger example provided in ClickOnce Application Manifest.

<!-- Identify the application. -->
<assemblyIdentity name="DatumCorpApp.exe" 
   version="1.0.0.0" publicKeyToken="0123456789abcdef" 
   processorArchitecture="x86" language="neutral"/>

See Also

Reference

ClickOnce Application Manifest