<assemblyIdentity> element (ClickOnce deployment)
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
Identifies the primary assembly of the ClickOnce application.
<assemblyIdentity name version publicKeyToken processorArchitecture type />
Elements and attributes
assemblyIdentity element is required. It contains no child elements and has the following attributes.
||Required. Identifies the human-readable name of the deployment for informational purposes.
||Required. Specifies the version number of the assembly, in the following format:
This value must be incremented in an updated manifest to trigger an application update.
||Required. 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 deployment manifest is signed. The public key that is used to sign must be 2048 bits or greater.
Although signing an assembly is recommended but optional, this attribute is required. If an assembly is unsigned, you should copy a value from a self-signed assembly or use a "dummy" value of all zeros.
||Required. Specifies the processor. The valid values are
||Required. For compatibility with Windows side-by-side installation technology. The only allowed value is
The following code example illustrates an
assemblyIdentity element in a ClickOnce deployment manifest. This code example is part of a larger example provided for the ClickOnce deployment manifest topic.
<!-- Identify the deployment. --> <assemblyIdentity name="My Application Deployment.app" version="18.104.22.168" publicKeyToken="43cb1e8e7a352766" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" />