Share via


<document> Element (2007 System)

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 Product Combination.

Project type

  • Document-level projects

Microsoft Office version

  • 2007 Microsoft Office system

The document element of the vstov3 namespace stores customization-specific information. This element is only for document-level customizations.

<document solutionId />

Elements and Attributes

Required only for document-level customizations. The document element is in the vstov3 namespace. The document element has the following attributes.

Attribute

Description

solutionId

Required. The GUID used by the Visual Studio Tools for Office runtime to uniquely identify a document-level solution. This value is stored as the _AssemblyLocation custom document property.

document has no child elements.

Remarks

You can manually edit application and deployment manifests in Visual Studio Tools for Office solutions. Application and deployment manifests must be re-signed by the Manifest Generation and Editing Tool (mage.exe and mageui.exe) after the manifests are edited. Sign the application manifest first and the deployment manifest next. For more information, see Manifest Generation and Editing Tool (Mage.exe) and Manifest Generation and Editing Tool, Graphical Client (MageUI.exe).

Document-Level Customization Example

Description

The following code example illustrates the document element in a document-level Visual Studio Tools for Office solution deployed by using ClickOnce. This code example is part of a larger example provided in Application Manifests for Office Solutions (2007 System).

Code

<vstov3:document solutionId="989..." />

See Also

Reference

Application Manifests for Office Solutions (2007 System)

Deployment Manifests for Office Solutions (2007 System)

ClickOnce Application Manifest