This documentation is archived and is not being maintained.

<assembly> Element (ClickOnce Reference) 

The top-level element for the application manifest.


The assembly element is the root element and is required. Its first contained element must be an assemblyIdentity element. The manifest elements must be in one of the following namespaces:



Child elements of the assembly must also be in these namespaces, by inheritance or by tagging.

The assembly element has the following attribute.

Attribute Description


Required. The manifestVersion attribute must be set to 1.0.

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

<asmv1:assembly xmlns="urn:schemas-microsoft-com:asm.v2" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="" xmlns:xsi="" xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd">