Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

<entryPoint> Element (Office Development in Visual Studio)

Each entryPoint element of the vstav3 namespace identifies a customization assembly that should be run when this ClickOnce application is installed.

<entryPoint class>
    <assemblyIdentity />
</entryPoint>

The entryPoint element is required and is in the vstav3 namespace.

Each entryPoint element can contain only one customization assembly. There can be multiple entryPoint elements defined in an application manifest.

The entryPoint element has the following attributes.

Attribute

Description

class

Required. Identifies a customization assembly to be executed. The syntax for this attribute is NamespaceName.ClassName.

entryPoint has the following element.

Required. The assemblyIdentity element in the vstav3 namespace refers to an existing assemblyIdentity element in the ClickOnce application manifest.

The role of assemblyIdentity and its attributes is defined in <assemblyIdentity> Element (ClickOnce Application).

The following code example illustrates entryPoint elements in an application manifest for a document-level Office solution deployed using ClickOnce. This code example is part of a larger example provided in Application Manifests for Office Solutions.

      <vstav3:entryPoint 
        class="ContosoExcelWorkbook.ThisWorkbook">
        <assemblyIdentity 
          name="ContosoExcelWorkbook" 
          version="1.0.0.0" 
          language="neutral" 
          processorArchitecture="msil" />
      </vstav3:entryPoint>
      <vstav3:entryPoint 
        class="ContosoExcelWorkbook.Sheet1">
        <assemblyIdentity 
          name="ContosoExcelWorkbook" 
          version="1.0.0.0" 
          language="neutral" 
          processorArchitecture="msil" />
      </vstav3:entryPoint>
      <vstav3:entryPoint 
        class="ContosoExcelWorkbook.Sheet2">
        <assemblyIdentity 
          name="ContosoExcelWorkbook" 
          version="1.0.0.0" 
          language="neutral" 
          processorArchitecture="msil" />
      </vstav3:entryPoint>
      <vstav3:entryPoint 
        class="ContosoExcelWorkbook.Sheet3">
        <assemblyIdentity 
          name="ContosoExcelWorkbook" 
          version="1.0.0.0" 
          language="neutral" 
          processorArchitecture="msil" />
      </vstav3:entryPoint>

The following code example illustrates an entryPoint element in an application manifest for an application-level Office solution deployed using ClickOnce. This code example is part of a larger example provided in Application Manifests for Office Solutions.

      <vstav3:entryPoint 
        class="ContosoOutlookAddIn.ThisAddIn">
        <assemblyIdentity 
          name="ContosoOutlookAddIn" 
          version="1.0.0.0" 
          language="neutral" 
          processorArchitecture="msil" />
      </vstav3:entryPoint>
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft