FileSet.

FailOnEmpty Property

Summary

When set to true, causes the fileset element to throw a NAnt.Core.ValidationException when no files match the includes and excludes criteria. The default is false.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
FileSet

Syntax

[TaskAttribute("failonempty")]
[BooleanValidator()]
public bool FailOnEmpty { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool