Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 699 Bytes

Halt.md

File metadata and controls

33 lines (20 loc) · 699 Bytes

Halt

Forces the current build to terminate.

Syntax

Halt,<Message>

Arguments

Argument Description
Message Text that will be displayed and written to the log citing the reason for the Halt.

Remarks

If the project has defined the System,OnBuildExit directive the command will be processed before the build halts. This allows the developer to clean up any temporary files and/or mount points, and unload any registry hives.

Related

System,OnBuildExit

Examples

Example 1

Abort the current build.

Halt,"Incompatible Source. Please select a valid source and try building again."