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

FileSet.FailOnEmpty Property

[This is preliminary documentation and subject to change.]

When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false.

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

Remarks

Missing <remarks> documentation for P:NAnt.Core.Types.FileSet.FailOnEmpty

See Also

FileSet Class | NAnt.Core.Types Namespace