Build.BlitzBuild - property

Description

A property works in much the same way as a traditional variable. Properties set in the main project area (outside of a task) can be accessed anywhere, but otherwise they are local to the task.

Properties values can contain functions, but they will not be evaluated until the property is accessed.

Parameters

Table 5. Parameters

Attribute Type Description Required
name string The name of the property. true
value string The value of the property. true
if bool If true, the task will be executed, otherwise it will be skipped. The default is true. False
unless bool The opposite of if. If false, the task will be executed, otherwise it will be skipped. The default is false. False