Skip to content

BenchmarkDotNet package shouldn't depend on Microsoft.CodeAnalysis.CSharp #2960

@olstakh

Description

@olstakh

Hi. Is there a reason that Microsoft.CodeAnalysis.CSharp nuget package is a dependency for BenchmarkDotNet? I don't see it being a runtime dependency, and it creates a conflict in repositories that have a code analysis project for their own needs.
The benchmark analyzers can just be a part of analyzers folder in BenchmarkDotNet package and will be applied automatically, but having a hard dependency on Microsoft.CodeAnalysis.CSharp is unclear to me, and results in conflicts

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