TlbImpTask.

StrictRef Property

Summary

Specifies whether a type library should not be imported if all references within the current assembly or the reference assemblies cannot be resolved. The default is false.
Assembly
NAnt.Win32.dll
Namespace
NAnt.Win32.Tasks
Containing Type
TlbImpTask

Syntax

[TaskAttribute("strictref")]
[BooleanValidator()]
public bool StrictRef { 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 type library should not be imported if all references cannot be resolved; otherwise, false.