Udostępnij za pośrednictwem


Csc.NoStandardLib Property

Definition

Gets or sets a Boolean value that indicates whether the Csc task should prevent the import of mscorlib.dll, which defines the entire System namespace.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool NoStandardLib { bool get(); void set(bool value); };
public bool NoStandardLib { get; set; }
member this.NoStandardLib : bool with get, set
Public Property NoStandardLib As Boolean

Property Value

true if the Csc task should prevent the import of mscorlib.dll; otherwise, false.

Remarks

Use this property if you want to define or create your own System namespace and objects. For more information, see /nostdlib (C# Compiler Options).

Applies to