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!

/out (Set Output Filename)

/out:filename

where:

filename
The name of the output file created by the compiler.

Remarks

The /out option specifies the name of the output file. The compiler expects to find one or more source code files following the /out option.

If you do not specify the name of the output file:

On the command line, it is possible to specify multiple output files for your compilation. All source code files specified after an /out option will be compiled into the output file specified by that /out option. A source code file used to compile one output file cannot be used in the same compilation for the compilation of another output file.

Specify the full name and extension of the file you want to create.

Example

Compile t2.cs and create output file t2.exe and build t3.cs and create output file t3.exe:

csc t2.cs /out:t3.exe t3.cs

See Also

C# Compiler Options