title | ms.date | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | author | ms.author | manager | ms.workload | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<assembly> Element (ClickOnce Application) | Microsoft Docs |
11/04/2016 |
reference |
|
|
|
51410569-10f9-4c0a-96b5-d39185edbefc |
mikejo5000 |
mikejo |
jillfra |
|
The top-level element for the application manifest.
<assembly
manifestVersion
/>
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:
urn:schemas-microsoft-com:asm.v1
urn:schemas-microsoft-com:asm.v2
http://www.w3.org/2000/09/xmldsig#
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 |
---|---|
manifestVersion |
Required. The manifestVersion attribute must be set to 1.0 . |
The following code example illustrates an assembly
element in an application manifest for a [!INCLUDEndptecclick] application. This code example is part of a larger example provided in ClickOnce application manifest.
<asmv1:assembly
xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd"
manifestVersion="1.0"
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"
xmlns:dsig=http://www.w3.org/2000/09/xmldsig#
xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"
xmlns="urn:schemas-microsoft-com:asm.v2"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1">