NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

/warnaserror (Treat Warnings as Errors)

Directs the compiler to treat all warnings as errors. /warnaserror[+ | -]

Remarks

Any messages that would ordinarily be reported as warnings are instead reported as errors, and the build process is halted (no output files are built).

By default, /warnaserror- is in effect, which causes warnings to not prevent the generation of an output file. /warnaserror, which is the same as /warnaserror+, causes warnings to be treated as errors.

Use /warn to specify the level of warnings that you want the compiler to display.

Note The /warnaserror option has not yet been implemented in the Visual Basic command line compiler.

Example

Compile in.vb and have the compiler display no warnings:

vbc /warnaserror in.vb

See Also

Visual Basic Compiler Options | /warn