<customHostSpecified> Element (Office Development in Visual Studio)

The customHostSpecified element indicates that this solution is not a stand-alone application. Office solutions contain components that are hosted inside Microsoft Office applications.

<customHostSpecified />

The customHostSpecified element is required 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.

The following code example illustrates the customHostSpecified element in an application manifest for an Office solution. This code example is part of a larger example provided in Application Manifests for Office Solutions.

<entryPoint>
    <co.v1:customHostSpecified />
</entryPoint>
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft