Cake.Issues.MsBuild 5.5.0

dotnet add package Cake.Issues.MsBuild --version 5.5.0
                    
NuGet\Install-Package Cake.Issues.MsBuild -Version 5.5.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cake.Issues.MsBuild" Version="5.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cake.Issues.MsBuild" Version="5.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Cake.Issues.MsBuild" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cake.Issues.MsBuild --version 5.5.0
                    
#r "nuget: Cake.Issues.MsBuild, 5.5.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Cake.Issues.MsBuild&version=5.5.0
                    

MsBuild support for the Cake.Issues addin for Cake Build Automation System

NOTE: This is the version of the addin compatible with Cake .NET Tool. For addin compatible with Cake Frosting see Cake.Frosting.Issues.MsBuild.

The MsBuild support for the Cake.Issues addin for Cake allows you to read issues logged as warnings in a MsBuild log.

Cake.Issues redefines issue management within the Cake build system by offering a comprehensive, universal, and extensible solution. The unique capabilities of the addins empower development teams to enforce coding standards, generate insightful reports, seamlessly incorporate various linting tools, and streamlining the integration with pull requests. With its modular architecture and extensive set of aliases, Cake.Issues provides a future-proof infrastructure for issue management in Cake builds, fostering a more efficient and adaptable development process.

For more information and extensive documentation see the Cake.Issues website. For general information about the Cake build automation system see the Cake website.

How to use

Integrating Cake.Issues into your Cake build is straightforward. With minimal setup, teams can enjoy the benefits of enhanced code quality management seamlessly integrated into their existing build pipeline.

After adding the addin the log file of a MsBuild build can be parsed:

Task("Build-Solution").Does(() =>
{
    var logPath = @"c:\build\msbuild.binlog";
    var repoRootPath = @"c:\repo";

    // Build solution.
    DotNetBuild(
        repoRootPath.CombineWithFilePath("MySolution.sln"),
        new DotNetBuildSettings
        {
            MSBuildSettings =
                new DotNetMSBuildSettings()
                    // Ensures that binary log version is written in a version compatible with Cake.Issues.MsBuild.
                    .WithLogger(
                        "BinaryLogger," + Context.Tools.Resolve("Cake.Issues.MsBuild*/**/StructuredLogger.dll"),
                        "",
                        logPath.FullPath)
        });

    // Read issues.
    var issues =
        ReadIssues(
            MsBuildIssuesFromFilePath(logPath, MsBuildBinaryLogFileFormat),
            repoRootPath);

    Information("{0} issues are found.", issues.Count());
});

Support & Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Contributing

Contributions are welcome. See Contribution Guidelines.

License

MIT License - Copyright © Cake Issues contributors

Binary distributions for some addins contain third-party code which is licensed under its own respective license. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.5.0 21,159 4 months ago
5.4.0 1,233 4 months ago
5.3.0 943 5 months ago
5.2.0 427 5 months ago
5.1.1 768 5 months ago
5.1.0 331 5 months ago
5.0.1 1,585 5 months ago
5.0.0 3,374 6 months ago
5.0.0-beta0002 152 6 months ago
5.0.0-beta0001 270 6 months ago
4.12.0 3,803 7 months ago
4.11.0 4,641 8 months ago
4.10.1 6,821 9 months ago
4.10.0 2,627 10 months ago
4.9.0 1,507 7/25/2024
4.8.1 1,359 7/19/2024
4.8.0 177 7/19/2024
4.7.2 355 7/18/2024
4.7.1 396 7/17/2024
4.7.0 286 7/16/2024
4.6.0 3,431 6/24/2024
4.5.1 6,206 5/24/2024
4.5.0 317 5/23/2024
4.4.0 960 5/18/2024
4.3.1 1,905 4/25/2024
4.3.0 745 4/20/2024
4.2.1 503 4/16/2024
4.2.0 657 4/14/2024
4.1.0 7,206 2/21/2024
4.0.0 9,134 12/23/2023
4.0.0-beta0001 1,218 12/9/2023
3.0.0 44,358 7/13/2023
3.0.0-beta0001 9,509 1/8/2023
2.0.0 39,197 11/30/2022
2.0.0-beta0001 7,475 7/22/2022
1.0.0 121,975 7/27/2021
1.0.0-beta0001 4,104 2/26/2021
0.9.1 27,032 10/20/2020
0.9.0 22,390 8/22/2020
0.9.0-beta0004 1,999 8/1/2020
0.9.0-beta0003 513 7/31/2020
0.9.0-beta0002 945 7/20/2020
0.9.0-beta0001 528 7/19/2020
0.8.0 31,133 10/17/2019
0.8.0-beta0001 762 10/11/2019
0.7.2 34,921 8/22/2019
0.7.1 131,319 8/15/2019
0.7.0 2,781 5/30/2019
0.7.0-beta0001 735 4/27/2019
0.6.3 34,196 3/18/2019
0.6.2 8,184 11/12/2018
0.6.1 15,923 11/1/2018
0.6.1-beta0002 850 10/5/2018
0.6.1-beta0001 846 9/13/2018
0.6.0 2,048 8/24/2018
0.6.0-beta0002 885 8/20/2018
0.6.0-beta0001 855 8/19/2018
0.5.0 26,478 8/17/2018
0.5.0-beta0001 902 8/6/2018
0.4.0 4,317 7/28/2018
0.4.0-beta0002 867 7/27/2018
0.4.0-beta0001 889 7/24/2018
0.3.1 3,131 6/26/2018
0.3.0 7,465 6/4/2018
0.3.0-beta0003 903 6/3/2018
0.3.0-beta0002 1,085 6/1/2018
0.3.0-beta0001 1,027 5/31/2018
0.2.0 1,709 5/22/2018
0.2.0-beta0003 1,042 5/21/2018
0.2.0-beta0002 926 3/7/2018
0.2.0-beta0001 1,151 12/31/2017
0.1.0 3,110 9/16/2017
0.1.0-beta0003 942 9/13/2017
0.1.0-beta0002 957 9/3/2017
0.1.0-beta0001 946 9/2/2017