/noconfig (Ignore csc.rsp)
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

/noconfig (Ignore csc.rsp) (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.


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.

© 2015 Microsoft