<postAction> element (Office development in Visual Studio)
The postAction
element of the vstav3
namespace contains the entrypoint
elements and all postActionData
elements that are associated with post-deployment actions, which run after Office solutions are installed.
<postAction>
<entryPoint>
</entryPoint>
<postActionData>
</postActionData>
</postAction>
The postAction
element is optional and it is in the vstav3
namespace. There is one postAction
element defined in an application manifest for each post-deployment action.
The postAction
element has no attributes.
postAction
has the following elements.
Optional. The role of the entryPoint
element in the vstav3
namespace is defined in <entryPoints> element (Office development in Visual Studio).
Optional. The role of the postActionData
element in the vstav3
namespace is defined in <postActionData> element (Office development in Visual Studio).
The following code example illustrates the postAction
element in an application manifest for an Office solution that is deployed by using ClickOnce. This code example is part of a larger example provided in Application manifests for Office solutions.
<vstav3:postAction>
<vstav3:entryPoint
class="PostDeploymentAction.PostDeploymentActionSample">
<assemblyIdentity
name="PostDeploymentAction"
version="1.0.0.0"
language="neutral"
processorArchitecture="msil" />
</vstav3:entryPoint>
<vstav3:postActionData>
</vstav3:postActionData>
</vstav3:postAction>