/nooutput
The /nooutput option causes compilation to take place but for no output file to be created. This lets you see any compilation errors or warnings.
On the command line, specify /nooutput in front of the source code file names.
Compile t2.cs
but do not create an output file and compile t3.cs
into t3.exe
:
csc /nooutput t2.cs /out:t3.exe t3.cs