Export (0) Print
Expand All

/noconfig (Ignore csc.rsp)

/noconfig

Remarks

The /noconfig option tells the compiler not to compile with the csc.rsp file, which is located and loaded from the same directory as the csc.exe file. The csc.rsp file references all the assemblies shipped with the .NET Framework. The actual references that the Visual Studio .NET development environment includes depend on the project type.

You can modify the csc.rsp file and specify additional compiler options that should be included in every compilation from the command line with csc.exe (except the /noconfig option).

The compiler processes the options passed to the csc command last. Therefore, any option on the command line overrides the setting of the same option in the csc.rsp file.

If you do not want the compiler to look for and use the settings in the csc.rsp file, specify /noconfig.

To set this compiler option in the Visual Studio development environment

This compiler option is unavailable in Visual Studio.

To set this compiler option programmatically

This compiler option cannot be changed programmatically.

See Also

C# Compiler Options

Show:
© 2014 Microsoft