Skip to content

Report generation fails when attempting to create png badge #224

@tylerohlsen

Description

@tylerohlsen

When attempting to create badges, the png creation fails when attempting to find System.Memory.

NuGet package reference from csproj
<DotNetCliToolReference Include="dotnet-reportgenerator-cli" Version="4.0.15" />

Command line:

dotnet reportgenerator -reports:%outputDir%\*.CodeCoverage.xml -targetdir:%outputDir%\CoverageReport -reporttypes:Badges;Html
 Creating summary
  Writing report file 'Build\TestOutput\CoverageReport\badge_linecoverage.svg'
  Writing report file 'Build\TestOutput\CoverageReport\badge_linecoverage.png'
  Error during rendering summary report (Report type: 'Badges'): Could not load file or assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions