| title | VCMessage Task | ||
|---|---|---|---|
| description | Learn how MSBuild uses the VCMessage task to log warning and error messages during a build for C++ projects. | ||
| ms.date | 06/27/2018 | ||
| ms.topic | reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| author | ghogen | ||
| ms.author | ghogen | ||
| ms.subservice | msbuild |
[!INCLUDE C++-specific task]
Logs warning and error messages during a build.
This task helps implement MSBuild for C++ projects and is not intended to be called by the user. For more information, see xref:Microsoft.Build.Utilities.TaskLoggingHelper.
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. |