<customHostSpecified> Element
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
|
The customHostSpecified element indicates that this solution is not a stand-alone application. Visual Studio Tools for Office solutions contain components that are hosted inside Microsoft Office applications.
<customHostSpecified />
Elements and Attributes
The customHostSpecified element is required for Visual Studio Tools for Office solutions. This element is in the co.v1 namespace and specifies that this deployment contains a component that will be deployed inside of a custom host, and is not a stand-alone application.
This element is a child of the first <entrypoint> element in the application manifest. There can be no other child elements in that <entrypoint> element or ClickOnce will raise a validation error during installation.
This element has no attributes and no child elements.
Remarks
You can manually edit application and deployment manifests in Visual Studio Tools for Office solutions. Application and deployment manifests must be re-signed by the Manifest Generation and Editing Tool (mage.exe and mageui.exe) after the manifests are edited. Sign the application manifest first and the deployment manifest next. For more information, see Manifest Generation and Editing Tool (Mage.exe) and Manifest Generation and Editing Tool, Graphical Client (MageUI.exe).
Example
The following code example illustrates the customHostSpecified element in an application manifest for a Visual Studio Tools for Office solution. This code example is part of a larger example provided in Application Manifests for Office Solutions (2007 System).
<entryPoint>
<co.v1:customHostSpecified />
</entryPoint>
See Also
Reference
Application Manifests for Office Solutions (2007 System)