MsBuildIssuesAliases.

MsBuildIssuesFromFilePath(ICakeContext, FilePath, BaseMsBuildLogFileFormat) Method

Summary

Gets an instance of a provider for issues reported as MsBuild warnings using a log file from disk.

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
logFilePath FilePath Path to the the MsBuild log file. The log file needs to be in the format as defined by the format parameter.
format BaseMsBuildLogFileFormat Format of the provided MsBuild log file.

Return Value

Type Description
IIssueProvider Instance of a provider for issues reported as MsBuild warnings.
GitHub