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

CscTask.NoStdLib Property

[This is preliminary documentation and subject to change.]

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

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

Remarks

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

See Also

CscTask Class | NAnt.DotNet.Tasks Namespace