MsBuild Post-Processor
An msbuild post-processor can be used to detect errors reported in the output produced by Microsoft's Msbuild
build tool. This post processor currently searches for error messages produced by msbuild itself, as well as errors produced by the Visual Studio compilers (e.g. the Csc task). By default no leading or trailing context will be captured.
The msbuild post-processor is a subclass of the regular expression post-processor. All attributes and child elements available for regular expression post processors are also available for msbuild post-processors.
MsBuild post-processing is applied by default when using the msbuild command.
Attributes
| Attribute |
Description |
Required? |
Default |
| name |
The name of this post-processor. |
Yes |
|
See also regex.pp.
Child Elements
See regex.pp.
Examples
A trivial msbuild post-processor:
<msbuild.pp name="msbuild.pp"/>
Capture five lines of leading context:
<msbuild.pp name="msbuild.pp" leading-context="5"/>