Export (0) Print
Expand All
Expand Minimize

/noconfig (C# Compiler Options)

The /noconfig option tells the compiler not to compile with the csc.rsp file, which is located in and loaded from the same directory as the csc.exe file.

/noconfig

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.

This compiler option is unavailable in Visual Studio and cannot be changed programmatically.

Community Additions

ADD
Show:
© 2014 Microsoft