Compartilhar via


/noconfig

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

/noconfig

Comentários

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.

ObservaçãoObservação

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 @ (Especificar Arquivos de Resposta) (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.

ObservaçãoObservação

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

Consulte também

Referência

/nostdlib (Visual Basic)

@ (Especificar Arquivos de Resposta) (Visual Basic)

/reference (Visual Basic)

Outros recursos

Compilador do Visual Basic