StrictRef Property

NAnt SDK Documentation - v0.92 |

# TlbImpTask.StrictRef Property

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.

[Visual Basic]
<BooleanValidator, _ TaskAttribute(Required:=False, Name:="strictref", ExpandProperties:=True, ProcessXml:=True)>
Public Property StrictRef As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Required=False, Name="strictref", ExpandProperties=True, ProcessXml=True)]
public bool StrictRef {get; set;}

#### Property Value

true if a type library should not be imported if all references cannot be resolved; otherwise, false.

#### Remarks

See the Microsoft.NET Framework SDK documentation for details.

#### See Also

TlbImpTask Class | NAnt.Win32.Tasks Namespace