NAnt SDK Documentation - v0.92

FileSet Properties

The properties of the FileSet class are listed below. For a complete list of FileSet class members, see the FileSet Members topic.

Public Instance Properties

AsIs Gets the collection of files that will be added to the FileSet without pattern matching or checking if the file exists.
BaseDirectory The base of the directory of this fileset. The default is the project base directory.
CanBeReferenced (inherited from DataTypeBase) Gets a value indicating whether a reference to the type can be defined.
CaseSensitive Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false.
DefaultExcludes Indicates whether default excludes should be used or not. The default is true.
DirectoryNames Gets the collection of directory names that match the fileset.
ExcludeElements The items to exclude from the fileset.
Excludes Gets the collection of exclude patterns.
ExcludesFiles The files from which a list of patterns or files to exclude should be obtained.
FailOnEmpty 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.
FileNames Gets the collection of file names that match the fileset.
ID (inherited from DataTypeBase) The ID used to be referenced later.
IncludeElements The items to include in the fileset.
Includes Gets the collection of include patterns.
IncludesFiles The files from which a list of patterns or files to include should be obtained.
MostRecentLastWriteTimeFile Determines the most recently modified file in the fileset (by LastWriteTime of the FileInfo).
Name (inherited from DataTypeBase) Gets the name of the datatype.
NamespaceManager (inherited from Element) Gets or sets the XmlNamespaceManager.
Parent (inherited from Element) Gets or sets the parent of the element.
PathFiles 
Project (inherited from Element) Gets or sets the Project to which this element belongs.
Properties (inherited from Element) Gets the properties local to this Element and the Project.
RefID (inherited from DataTypeBase) The ID to use as the reference.
ScannedDirectories Gets the collection of directory names that were scanned for files.
SetExcludesObsolete. The items to exclude from the fileset.
SetIncludesObsolete. The items to include in the fileset.
SetIncludesListObsolete. The files from which a list of patterns or files to include should be obtained.

Protected Instance Properties

CustomXmlProcessing (inherited from Element) Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) Gets or sets the XML node of the element.

Protected Internal Instance Properties

IsEverythingIncluded Indicates whether or not every file and directory is included in the fileset list.

See Also

FileSet Class | NAnt.Core.Types Namespace | PatternSet