NAntContrib Help Task Reference <typedcollection> | v0.91-rc1 |
[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.
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 |
<typedcollection language="CSharp"> <fileset> <include name="collections.xml" /> </fileset> </typedcollection>