NAnt SDK Documentation - v0.92

Project.CurrentTarget Property

Gets the current target.

[Visual Basic]
Public ReadOnly Property CurrentTarget As Target
[C#]
public Target CurrentTarget {get;}

Property Value

The current target, or a null reference (Nothing in Visual Basic) if no target is executing.

See Also

Project Class | NAnt.Core Namespace