<namespaceimports>

[This is preliminary documentation and subject to change.]

Contains a collection of NamespaceImport items.

Parameters

Attribute Type Description Required
id string The ID used to be referenced later. False
refid string The ID to use as the reference. False

Nested Elements:

<import>

Adds a NamespaceImport to the end of the collection.

Represents a namespace to import.

Parameters

AttributeTypeDescriptionRequired
ifbool Indicates if the import should be generated. False
namestringDeprecated. The name of the namespace to import. False
namespacestring The name of the namespace to import. False
unlessbool Indicates if the import should be not generated. False

</import>

Examples

Requirements

Assembly: NAnt.DotNetTasks (0.92.4495.0)