This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.MsBuild.
Summary
Gets an instance of a provider for issues reported as MsBuild warnings using log content.
- Assembly
- Cake
.Issues .MsBuild .dll - Namespace
- Cake
.Issues .MsBuild - Containing Type
- MsBuildIssuesAliases
Syntax
public static IIssueProvider MsBuildIssuesFromContent(this ICakeContext context, string logFileContent, BaseMsBuildLogFileFormat format)
Examples
Read issues reported as MsBuild warnings:
var issues =
ReadIssues(
MsBuildIssuesFromContent(
logFileContent,
MsBuildXmlFileLoggerFormat)),
@"c:\repo");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
logFileContent | string | Content of the MsBuild log file. The log file needs to be in the format as defined by the format parameter. |
format | Base |
Format of the provided MsBuild log file. |
Return Value
Type | Description |
---|---|
IIssueProvider | Instance of a provider for issues reported as MsBuild warnings. |