TlbImpTask.

Primary Property

Summary

Specifies whether a primary interop assembly should be produced for the specified type library. The default is false.
Assembly
NAnt.Win32.dll
Namespace
NAnt.Win32.Tasks
Containing Type
TlbImpTask

Syntax

[TaskAttribute("primary")]
[BooleanValidator()]
public bool Primary { get; set; }

Remarks

See the Microsoft.NET Framework SDK documentation for details.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool true if a primary interop assembly should be produced; otherwise, false.