Command-Line Switches
The VB.NET compiler supports the following command-line switches.
Output Filename and File Type
Switch |
Description |
---|---|
/out:<
|
Defines
the output filename. If not present, the
output file will have the same root filename as the input file.
|
/target:
or: /t:<
|
Defines the type of file to
be generated by the compiler. |
Input Files
Switch |
Description |
---|---|
/addmodule:
|
Includes the .NETMODULE file named
|
/libpath:<
|
The directory
or directories to search for metadata references (which are specified
by the |
/recurse:<
|
Includes all files in the current directory and its subdirectories according to the wildcard specifications. For example: vbc /recurse:*.vb ... |
Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.