Skip to content

.net Benchmark project config auto gererated .csproj property #316

@xccu

Description

@xccu

when invoke .net Benchmark project
BenchmarkRunner.Run<XxxBenchmark>();
will auto generate a .csproj file in
bin/release/.net8.0/81d136f9-eb92-46eb-b69d-8c05fa83bb9d/BenchmarkDotNet.Autogenerated.csproj
The target app config key.snk in root directory and Benchmark project will report error:
CSC : error CS7027: Error signing output with public key from file 'key.snk' -- File not found. [D:\WorkSpace\framework\Benchmark\JsonSerializer\JsonSerializer.Benchmark\bin\Release\net8.0\81d136f9-eb92-46eb-b69d-8c05fa83bb9d\BenchmarkDotNet.Autogenerated.csproj]
can config key.snk into generated .csproj file or other way to solve the problem?

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