Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VCBuild Task 

Wraps vcbuild.exe, which builds Visual C++ projects and solutions containing Visual C++ projects. For more information, see VCBUILD Reference.

The following table describes the parameters of the VCBuild task.

Parameter Description


Optional ITaskItem[] parameter.

Specifies additional paths to append to the LIBPATH environment variable before executing vcbuild.exe.


Optional String parameter.

Specifies additional command line switches that do not have dedicated task parameters.


Optional Boolean parameter.

If true, specifies that the task will output only clean build outputs. If the Rebuild parameter is true, it overrides this parameter.


Optional String parameter.

Specifies the name of the configuration and platform to build with.

For example: Debug|Win32.

This parameter can also be used to specify only the configuration name.


Optional ITaskItem parameter.

Specifies the location of a VCBuild property sheet file that overrides project file settings.


Optional String parameter.

Specifies the name of the platform to build for.


Required ITaskItem[] parameter.

Specifies the projects to build.


Optional Boolean parameter.

If true, specifies that the task will clean build outputs before performing a build. This parameter overrides the Clean parameter.


Optional ITaskItem parameter.

Specifies the full path to the solution file when building solutions. This parameter is used to resolve solution-related Visual C++ project macros.


Optional Int32 parameter.

Specifies the amount of time, in milliseconds, after which the task executable is terminated. The default value is Int.MaxValue, indicating that there is no time out period.


Optional String parameter.

Specifies the location from where the task will load the underlying executable file (vcbuild.exe). If this parameter is not specified, the task uses the SDK installation path corresponding to the version of the framework that is running MSBuild.


Optional Boolean parameter.

true to use environment variables for INCLUDE and LIB paths; otherwise, false.

The following example uses the VCBuild task to build the projects specified by the vcprojects item collection.


Community Additions

© 2015 Microsoft