<import>

Represents a namespace to import.

Parameters

Attribute Type Description Required
if bool
Indicates if the import should be generated.
False
namespace string
The name of the namespace to import.
False
name string
The name of the namespace to import.
Obsolete. Use "namespace" attribute instead.
False
unless bool
Indicates if the import should be not generated.
False

Requirements

Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types