VCMessage Task


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Logs warning and error messages during a build.

This task helps implement MSBuild for Visual C++ and is not intended to be called by the user. For more information, see TaskLoggingHelper.

The following table describes the parameters of the VCMessage task.

ArgumentsOptional String parameter.

A semicolon-delimited list of messages to display.
CodeRequired String parameter.

An error number that qualifies the message.
TypeOptional String parameter.

Specifies the kind of message to emit. Specify either "Warning" to emit a warning message, or "Error" to emit an error message.

Task Reference