PostBuildEvent
PostBuildEvent is a build system feature that runs specified commands after a project has been built. In Visual Studio it is exposed as a post-build event command line for a given project, and in MSBuild-based projects it corresponds to a post-build target that executes an Exec task after the build.
Purpose and common uses include copying the produced binaries to a deployment folder, running tooling on the
Configuration examples: In Visual Studio, commands are entered in the Post-build event command line field. A
For MSBuild-based projects, you can define a post-build target that runs after the built-in PostBuildEvent, for
Execution details: Post-build events generally run after a successful build; if the command returns a nonzero