Visual Basic Compiler (vbc.exe)
The following table shows some of the common usages of the Visual Basic compiler:
|
Option |
Description |
|---|---|
/cls |
This option enables common language specification (CLS) checking. |
/debug |
With this option, the compiler will emit debugging information in the output file. |
|
|
Use this option to define preprocessor symbols. |
|
|
This option shows the command-line help for the Visual Basic compiler. |
/keycontainer:keycontainer |
|
/keyfile:keyfile |
|
/main:classname |
If there is more than one Main entry in different classes, you will have to specify the Main entry in which class you want the entry point of the application. |
/out:filename |
This option represents the output filename. |
optionexplicit[+/-] |
Turn on or off |
optionstrict[+/-] |
Turn on or off |
|
|
This option allows single or multiple libraries be included with this compilation. For multiple libraries to be included, use a semicolon as the delimiter. ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access