Visual Basic Compiler Options Listed Alphabetically
The Visual Basic command-line compiler is provided as an alternative to compiling programs from the Visual Studio integrated development environment (IDE). The following is a list of the Visual Basic command-line compiler options sorted alphabetically.
Specifies a response file.
Displays compiler options. This command is the same as specifying the /help option. No compilation occurs.
Causes the compiler to make all type information from the specified file(s) available to the project you are currently compiling.
Specifies the base address of a DLL.
Creates a file that contains information that makes it easy to report a bug.
Specifies the code page to use for all source code files in the compilation.
Produces debugging information.
Defines symbols for conditional compilation.
Specifies whether the assembly will be fully or partially signed.
Processes documentation comments to an XML file.
Specifies how the Visual Basic compiler should report internal compiler errors.
Specifies where to align the sections of the output file.
Displays compiler options. This command is the same as specifying the /? option. No compilation occurs.
Imports a namespace from a specified assembly.
Specifies a key container name for a key pair to give an assembly a strong name.
Specifies a file that contains a key or key pair to give an assembly a strong name.
Specifies the location of assemblies referenced by the /reference option.
Creates a link to a managed resource.
Specifies the class that contains the Sub Main procedure to use at startup.
Specifies the name of the assembly that a module will be a part of.
Sets the compiler to target the .NET Compact Framework.
Do not compile with Vbc.rsp.
Suppresses compiler banner information.
Causes the compiler not to reference the standard libraries.
Suppresses the compiler's ability to generate warnings.
Instructs the compiler not to embed any application manifest into the executable file.
Enables/disables code optimization.
Specifies whether string comparisons should be binary or use locale-specific text semantics.
Enforces explicit declaration of variables.
Enables the use of local type inference in variable declarations.
Enforces strict language semantics.
Specifies an output file.
Specifies the processor platform the compiler targets for the output file.
Prevents the compiler from displaying code for syntax-related errors and warnings.
Searches subdirectories for source files to compile.
Imports metadata from an assembly.
Disables integer overflow checking.
Embeds a managed resource in an assembly.
Specifies a namespace for all type declarations.
Specifies the location of Mscorlib.dll and Microsoft.VisualBasic.dll.
Specifies the format of the output file.
Displays compiler output using UTF-8 encoding.
Specifies that the compiler should compile without a reference to the Visual Basic Runtime Library, or with a reference to a specific runtime library.
Outputs extra information during compilation.
Promotes warnings to errors.
Inserts an .ico file into the output file.
Identifies a user-defined Win32 application manifest file to be embedded into a project's portable executable (PE) file.
Inserts a Win32 resource into the output file.