NoStdLib Property

NAnt SDK Documentation - v0.92 |

# CscTask.NoStdLib Property

Instructs the compiler not to import mscorlib.dll. The default is false.

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

#### Remarks

Corresponds with the `/nostdlib[+|-]` flag.

#### See Also

CscTask Class | NAnt.DotNet.Tasks Namespace