Share via


RunPostBuildEvent Property (Windows Installer)

The RunPostBuildEvent property for a deployment project specifies when the PostBuildEvent command line is to be executed: always, or only on a successful build. The RunPostBuildEvent property can be set in the Properties window when a deployment project is selected in the Solution Explorer.

Settings

Setting

Description

Always

The command line specified by PostBuildEvent is to be executed regardless of whether the build executes with errors or not.

On a successful build

The command line specified by PostBuildEvent is to be executed only when the build executes without error.

See Also

Reference

Deployment Properties