NAntContrib Help Function Reference fileset::get-file-count | v0.91-rc1 |
[This is preliminary documentation and subject to change.]
Determines the number of files within a <fileset>.
int fileset::get-file-count(fileset)
Name | Type | Description |
---|---|---|
fileset | string | The id of the FileSet to scan. |
Define a fileset and check the number of files in it.
<fileset id="test.fileset"> <include name="**/*.cs"> </fileset> <echo message="FileSet contains ${fileset::get-file-count('test.fileset')} files." />