Examples

Build Script

To use the Cake Code Analysis Reporting addin in your Cake file simply import it. Then define a task.

#addin "Cake.CodeAnalysisReporting"

Task("create-report").Does(() =>
{
    CreateMsBuildCodeAnalysisReport(
        @"C:\build\msbuild.log",
        CodeAnalysisReport.MsBuildXmlFileLoggerByAssembly,
        @"C:\build\issuesByAssembly.html");
}
GitHub