NAnt SDK Documentation - v0.85-nightly-2005-11-09

CompilerBase.ForceRebuild Property

[This is preliminary documentation and subject to change.]

Instructs NAnt to recompile the output file regardless of the file timestamps.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="rebuild", ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Public Property ForceRebuild As Boolean
[C#]
[TaskAttribute(Required=False, Name="rebuild", ExpandProperties=True, ProcessXml=True)]
[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.

See Also

CompilerBase Class | NAnt.DotNet.Tasks Namespace