VCMessage task

Note

This task is only available when using the C++ build system.

Logs warning and error messages during a build.

Remarks

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

Parameters

The following table describes the parameters of the VCMessage task.

Parameter Description
Arguments Optional String parameter.

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

An error number that qualifies the message.
Type Optional String parameter.

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

See also