<typedcollection>

[This is preliminary documentation and subject to change.]

Generates collection classes based on a given XML specification file. Code generation is in the specified language.

See the CollectionGen tool page for more information.

Parameters

Attribute Type Description Required
language string The language to generate collection classes for. Valid values are "CSharp" or "VB". True
file string The name of the template file for collection generation. This is provided as an alternate to using the task's fileset. False
failonerror bool Determines if task failure stops the build, or is just reported. The default is true. False
if bool If true then the task will be executed; otherwise, skipped. The default is true. False
unless bool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbose bool Determines whether the task should report detailed build log messages. The default is false. False

Nested Elements:

<fileset>

All files in this fileset will be run thru the collection generator.

</fileset>

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.93.5521.0)