Deployment Manifests for Office Solutions (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 Application and Project Type.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

A deployment manifest is an XML file that describes the deployment settings of a Visual Studio Tools for Office solution and identifies the current application version.

Visual Studio Tools for Office uses the ClickOnce deployment manifest schema defined in the ClickOnce Deployment Manifest reference.

Remarks

The deployment manifest file identifies a Visual Studio Tools for Office solution deployment using ClickOnce, including the current version and other deployment settings. It references the application manifest, which describes the current version of the solution and all of the files that are contained in the solution.

File Name Syntax

The name of a deployment manifest file must end with the .vsto extension. Although it is a standard ClickOnce deployment manifest, the extension differs to enable the Visual Studio Tools for Office runtime to handle the file.

Example

The following code example illustrates a deployment manifest for a Visual Studio Tools for Office solution.

<?xml version="1.0" encoding="utf-8"?>
<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.v1="urn:schemas-microsoft-com:clickonce.v1"
    xmlns="urn:schemas-microsoft-com:asm.v2"
    xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
    xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
    xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <assemblyIdentity name="ExcelWorkbook1.vsto"
        version="1.0.0.2" publicKeyToken="9831b9782cdeb193"
        language="neutral"
        processorArchitecture="msil"
        xmlns="urn:schemas-microsoft-com:asm.v1" />
    <description asmv2:publisher="Microsoft"
        asmv2:product="ExcelWorkbook1"
        xmlns="urn:schemas-microsoft-com:asm.v1" />
    <deployment install="false" mapFileExtensions="true" />
    <dependency>
        <dependentAssembly
            dependencyType="install"
            codebase="Application Files\ExcelWorkbook1_1_0_0_2\ExcelWorkbook1.dll.manifest"
            size="11101">
            <assemblyIdentity
                name="ExcelWorkbook1.dll"
                version="1.0.0.2"
                publicKeyToken="9831b9782cdeb193"
                language="neutral"
                processorArchitecture="msil"
                type="win32" />
            <hash>
                <dsig:Transforms>
                    <dsig:Transform Algorithm=
                        "urn:schemas-microsoft-com:HashTransforms.Identity" />
                    </dsig:Transforms>
                <dsig:DigestMethod
                     Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
                <dsig:DigestValue>kT066eQ4x8UT7pom5xi7+ObetcQ=</dsig:DigestValue>
            </hash>
        </dependentAssembly>
    </dependency>
<publisherIdentity
    name="name"
    issuerKeyHash="90a6..." />
<Signature Id="StrongNameSignature"
    xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
        <CanonicalizationMethod
            Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
        <SignatureMethod
            Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
        <Reference URI="">
            <Transforms>
                <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
                <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
            </Transforms>
            <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
            <DigestValue>E+...</DigestValue>
        </Reference>
    </SignedInfo>
    <SignatureValue>m4S...</SignatureValue>
    <KeyInfo Id="StrongNameKeyInfo">
        <X509Data>
            <X509Certificate>MIIB...</X509Certificate>
        </X509Data>
    </KeyInfo>
</Signature>
</asmv1:assembly>

See Also

Reference

Application Manifests for Office Solutions (2007 System)

Application Manifests for Office Solutions (2003 System)

Deployment Manifests for Office Solutions (2003 System)