/noconfig (C# Compiler Options)

 

Updated: July 20, 2015

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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.

C# Compiler Options
NIB How to: Modify Project Properties and Configuration Settings

Show: