VbcTask.

NoStdLib Property

Summary

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).
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
VbcTask

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