NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Building From the Command Line

Microsoft Visual Studio provides a command line compiler for Visual Basic as an alternative to compiling a Visual Basic program from within Visual Studio.

When to use the Command Line Compiler

The Visual Basic command line compiler is designed for situations when the rich environment provided by Visual Studio is not required. Application developers that prefer to work in the MS-DOS environment may wish to use a simple text editor and the command line compiler to build projects. The command line compiler is also useful when you want to automate the build process or when using computers with limited system memory.

Invoking the Compiler

The compiler can be invoked by typing the name of its executable (vbc.exe) on the command line. You may need to adjust your path if you want vbc.exe to be invoked from any subdirectory on your computer.

Visual Basic Compiler Options

The Visual Basic command line compiler supports a complete set of compiler options that control input files, output files, assemblies, debug and preprocessor options.

Sample Command Lines

See Also

Visual Basic Compiler Options Listed Alphabetically | Visual Basic Compiler Options Listed by Category