MsBuildIssuesAliases.

MsBuildIssues(ICakeContext, MsBuildIssuesSettings) Method

Summary

Gets an instance of a provider for issues reported as MsBuild warnings using specified settings.

Syntax

public static IIssueProvider MsBuildIssues(this ICakeContext context, MsBuildIssuesSettings settings)

Examples

Read issues reported as MsBuild warnings:

 var settings =
         new MsBuildIssuesSettings(
             @"c:\build\msbuild.xml",
             MsBuildXmlFileLoggerFormat);

     var issues =
         ReadIssues(
             MsBuildIssues(settings),
             @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings MsBuildIssuesSettings Settings for reading the MSBuild log.

Return Value

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