<entryPoint> Element (Visual Studio Tools for Office 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 assembly that should be executed when the Visual Studio Tools for Office solution is run on a client computer.

<entryPoint>
   <clrClassInvocation
      class
   />
</entryPoint>

Elements and Attributes

The entryPointelement is required and is in the asm.v2 namespace.

The entryPoint element has the following attributes.

Attribute

Description

name

Required. Identifies the main or function entry point.

dependencyName

Required. The dependency element that contains the assembly.

The entryPoint element has the following elements.

clrClassInvocation

The clrClassInvocation element is described in the topic <clrClassInvocation> Element (Visual Studio Tools for Office Reference).

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.

Example

The following code example illustrates the entryPoint elements in an application manifest for a Visual Studio Tools for Office solution. This code example is part of a larger example provided for the Application Manifests for Office Solutions (2003 System) topic.

<asm.v2:entryPoint name="Startup" dependencyName="dependency0">
    <asm.v2:clrClassInvocation class="project1.Sheet2"/>
</asm.v2:entryPoint>

See Also

Reference

Application Manifests for Office Solutions (2003 System)