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 a log file from disk.
- Assembly
- Cake
.Issues .MsBuild .dll - Namespace
- Cake
.Issues .MsBuild - Containing Type
- MsBuildIssuesAliases
Syntax
public static IIssueProvider MsBuildIssuesFromFilePath(this ICakeContext context, FilePath logFilePath, BaseMsBuildLogFileFormat format)
Examples
Read issues reported as MsBuild warnings:
var issues =
ReadIssues(
MsBuildIssuesFromFilePath(
@"c:\build\msbuild.xml",
MsBuildXmlFileLoggerFormat),
@"c:\repo");
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| logFilePath | FilePath | Path to 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. |
