NAnt SDK Documentation - v0.85-nightly-2005-11-09

TlbImpTask.StrictRef Property

[This is preliminary documentation and subject to change.]

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]
<TaskAttribute(Required:=False, Name:="strictref", ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Public Property StrictRef As Boolean
[C#]
[TaskAttribute(Required=False, Name="strictref", ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
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