次の方法で共有


<assembly> Element 

The top-level element for the deployment manifest.

<assembly  
   manifestVersion
/>

Elements and Attributes

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 the following namespaces: urn:schemas-microsoft-com:asm.v1, urn:schemas-microsoft-com:asm.v2, and 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. This attribute must be set to 1.0.

Example

The following code example illustrates an assembly element in a deployment manifest for an application deployed using ClickOnce. This code example is part of a larger example provided for the ClickOnce Deployment Manifest topic.

<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="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd">

See Also

Reference

ClickOnce Deployment Manifest