NoStdLib Property

NAnt SDK Documentation - v0.92 |

# VbcTask.NoStdLib Property

Instructs the compiler not to reference standard libraries (system.dll and VBC.RSP). The default is false. Only supported when targeting .NET 2.0 (or higher).

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

#### Remarks

Corresponds with the `/nostdlib` flag.

#### See Also

VbcTask Class | NAnt.DotNet.Tasks Namespace