Show/Hide Toolbars

XSharp

-nostdlib prevents the import of mscorlib.dll, which defines the entire System namespace.

Syntax

-nostdlib[+ | -]  

Remarks

Use this option if you want to define or create your own System namespace and objects.

 

If you do not specify -nostdlib, mscorlib.dll will be imported into your program (same as specifying -nostdlib-). Specifying -nostdlib is the same as specifying -nostdlib+.

To set this compiler option in the Visual Studio development environment

 

1.Open the project's Properties page.

2.Click the Build property page.

3.Add the option in the "Extra Command Line options" property