Udostępnij za pośrednictwem


VCMessage Task

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Logs warning and error messages during a build.

Remarks

This task helps implement MSBuild for Visual C++ 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

Task Reference