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 ... |
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