We recommend using Visual Studio 2017

<document> Element (Office Development in Visual Studio)


The document element of the vstov4 namespace stores customization-specific information for document-level customizations.

<document solutionId />  

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

solutionIdRequired. 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. For more information, see Custom Document Properties Overview.

document has no child elements.


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


  solutionId="73e" />  

Application Manifests for Office Solutions
Deployment Manifests for Office Solutions
ClickOnce Application Manifest