<clrClassInvocation> 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
Microsoft Office version
|
Indicates the class to be invoked for an entryPoint element.
<clrClassInvocation
class
/>
Elements and Attributes
The clrClassInvocation element is required and is in the asm.v2 namespace.
The clrClassInvocation element has the following attribute.
Attribute |
Description |
---|---|
class |
Required. Identifies the class to be invoked for an entryPoint element. |
The clrClassInvocation element has no child elements.
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 a clrClassInvocation element in an application manifest for a Visual Studio Tools for Office application. 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="Project1">
<asm.v2:clrClassInvocation class="Project1.Sheet1"/>
</asm.v2:entryPoint>