/nooutput[+ | -]
The /nooutput option lets you see any compilation errors or warnings.
On the command line, specify /nooutput in front of the source code file names. If you do not specify /nooutput, an output file will be created and the result is the same as specifying /nooutput - . Specifying /nooutput is the same as specifying /nooutput +.
Note The /nooutput option has not yet been implemented in the Visual Basic command line compiler.
Compile t2.vb
but do not create an output file and compile t3.vb
into t3.exe
:
vbc /nooutput t2.vb /out:t3.exe t3.vb