CompilerBase.

ForceRebuild Property

Summary

Instructs NAnt to recompile the output file regardless of the file timestamps.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CompilerBase

Syntax

[TaskAttribute("rebuild")]
[BooleanValidator()]
public bool ForceRebuild { get; set; }

Remarks

When this parameter is to true, NAnt will always run the compiler to rebuild the output file, regardless of the file timestamps.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool