NAnt SDK Documentation - v0.92

IlasmTask.ForceRebuild Property

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

[Visual Basic]
<TaskAttribute(Name:="rebuild", Required:=False, ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Public Property ForceRebuild As Boolean
[C#]
[TaskAttribute(Name="rebuild", Required=False, ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool ForceRebuild {get; set;}

Property Value

true if the output file should be recompiled regardless of its timestamps; otherwise false. The default is false.

See Also

IlasmTask Class | NAnt.DotNet.Tasks Namespace