<vb6>

Compiles Microsoft Visual Basic 6 programs.

Uses the VB6.EXE executable included with the Visual Basic 6 environment.

The compiler uses the settings and source files specified in the project or group file.

Parameters

Attribute Type Description Required
project string Visual Basic project or group file. True
checkreferences bool Determines whether project references are checked when deciding whether the project needs to be recompiled. The default is true. False
errorfile string The file to which the Visual Basic compiler should log errors. False
outdir string Output directory for the compilation target. False
failonerror bool False
if bool False
timeout int False
unless bool False
verbose bool False

Framework-configurable parameters

Attribute Type Description Required
exename string False
useruntimeengine bool False

Nested Elements:

<arg>

</arg>

Examples

Build the project HelloWorld.vbp in the build directory.

            <vb6 project="HelloWorld.vbp" outdir="build" />