Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

/noconfig 

Specifies that the compiler should not automatically reference the commonly used .NET Framework assemblies or import the System and Microsoft.VisualBasic namespaces.


/noconfig

The /noconfig option tells the compiler not to compile with the Vbc.rsp file, which is located in the same directory as the Vbc.exe file. The Vbc.rsp file references the commonly used .NET Framework assemblies and imports the System and Microsoft.VisualBasic namespaces. The compiler implicitly references the System.dll assembly unless the /nostdlib option is specified. The /nostdlib option tells the compiler not to compile with Vbc.rsp or automatically reference the System.dll assembly.

NoteNote

The Mscorlib.dll and Microsoft.VisualBasic.dll assemblies are always referenced.

You can modify the Vbc.rsp file to specify additional compiler options that should be included in every Vbc.exe compilation (except when specifying the /noconfig option). For more information, see @ (Specify Response File) (Visual Basic).

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

NoteNote

The /noconfig option is not available from within the Visual Studio development environment; it is available only when compiling from the command line.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft