Skip to content

MicroBenchmarks build failing with error NU1510 #4975

@xtqqczze

Description

@xtqqczze
dotnet run -c Release -f net9.0 --project src/benchmarks/micro --list tree --filter 'System.Threading*'
~/performance/src/benchmarks/micro/MicroBenchmarks.csproj : error NU1510: Warning As Error: PackageReference System.Diagnostics.DiagnosticSource will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary.
~/performance/src/benchmarks/micro/MicroBenchmarks.csproj : error NU1510: Warning As Error: PackageReference System.Threading.Channels will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary.

cc: @nkolev92

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions