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!

@ (Specify Response File)

@response_file

where:

response_file
A file that lists compiler options or source code files to compile.

Remarks

The @ option lets you specify a file that contains compiler options and source code files to compile. These compiler options and source code files will be processed by the compiler just as if they had been specified on the command line.

To specify more than one response file in a compilation, specify multiple response file options. For example:

@file1.rsp @file2.rsp

In a response file, multiple compiler options and source code files can appear on one line. A single compiler option specification must appear on one line (cannot span multiple lines). Response files can have comments that begin with the # symbol.

Specifying compiler options from within a response file is just like issuing those commands on the command line. See Building from the Command Line for more information.

This option is not available from within the development environment; it is only available when compiling from the command line.

Example

The following are a few lines from a sample response file:

# build the first output file
/target:exe /out:MyExe.exe source1.cs source2.cs

See Also

C# Compiler Options