CscTask.

NoStdLib Property

Summary

Instructs the compiler not to import mscorlib.dll. The default is false.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CscTask

Syntax

[FrameworkConfigurable("nostdlib")]
[TaskAttribute("nostdlib")]
[BooleanValidator()]
public bool NoStdLib { get; set; }

Remarks

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

Attributes

Type Description
FrameworkConfigurableAttribute Indicates that the value of the property to which the attribute is assigned, can be configured on the framework-level in the NAnt application configuration file.
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool