Features
The Cake.Issues.MsBuild addin provides the following features.
Basic features¶
- Reads errors and warnings from MSBuild log files.
- Provides URLs for all code analysis (
CA*
) and StyleCop (SA*
) warnings. - Support for custom URL resolving using the MsBuildAddRuleUrlResolver alias.
Supported log file formats¶
- MsBuildBinaryLogFileFormat alias for reading issues from binary log files.
- MsBuildXmlFileLoggerFormat alias for reading issues from log files created by MSBuild Extension Pack XmlFileLogger.
Supported IIssue properties¶
Property | Remarks | |
---|---|---|
IIssue.ProviderType |
||
IIssue.ProviderName |
||
IIssue.Run |
Can be set while reading issues | |
IIssue.Identifier |
Set to IIssue.MessageText |
|
IIssue.ProjectName |
||
IIssue.ProjectFileRelativePath |
||
IIssue.AffectedFileRelativePath |
||
IIssue.Line |
||
IIssue.EndLine |
||
IIssue.Column |
Only for MsBuildXmlFileLoggerFormat | |
IIssue.EndColumn |
||
IIssue.FileLink |
Can be set while reading issues | |
IIssue.MessageText |
||
IIssue.MessageHtml |
||
IIssue.MessageMarkdown |
||
IIssue.Priority |
||
IIssue.PriorityName |
||
IIssue.Rule |
||
IIssue.RuleUrl |
For code analysis (CA* ) and StyleCop (SA* ) warnings. Support for additional rules can be added through a custom MsBuildAddRuleUrlResolver |