Udostępnij za pośrednictwem


<deployment> Element (Visual Studio Tools for Office Deployment Reference)

Note

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

For more information, see Features Available by Application and Project Type.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • Microsoft Office 2003

Identifies the attributes used for the deployment of updates and exposure to the system in Visual Studio Tools for Office solutions.

<deployment
   install
/>

Elements and Attributes

The deployment element is required and is in the asmv2 namespace. It has the following attributes.

Attribute

Description

install

Required. Specifies whether this application defines a presence on the Windows Start Menu and in the Add and Remove Programs list. Valid values are true and false. If false, Visual Studio Tools for Office will always run the latest version of this application from the network.

The deployment element contains no child elements.

Remarks

Application and deployment manifests in Visual Studio Tools for Office solutions are not signed, as ClickOnce manifests are. The manifests cannot be validated before they are used.

Some of the fields in application and deployment manifests that are generated by the publish tools are not used in Visual Studio Tools for Office solutions, including some fields that identify properties of the assembly such as size and version.

Examples

The following code example illustrates a deployment element in a Visual Studio Tools for Office deployment manifest. The code example is part of a larger example provided for the Deployment Manifests for Office Solutions (2003 System) topic.

<deployment install="false" />

See Also

Reference

Deployment Manifests for Office Solutions (2003 System)