NAnt SDK Documentation - v0.92

CallTask.ForceExecute Property

NOTE: This property is now obsolete.

Use the "cascase" attribute to control whether dependencies should be re-executed.


Force an execute even if the target has already been executed. The default is false.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="force", ExpandProperties:=True, ProcessXml:=True), _  Obsolete(Message:="Use the "cascase" attribute to control whether dependencies should be re-executed.", IsError:=False)>
Public Property ForceExecute As Boolean
[C#]
[TaskAttribute(Required=False, Name="force", ExpandProperties=True, ProcessXml=True)]
[Obsolete(Message="Use the "cascase" attribute to control whether dependencies should be re-executed.", IsError=False)]
public bool ForceExecute {get; set;}

See Also

CallTask Class | NAnt.Core.Tasks Namespace