Skip to content

Build problems with BenchmarkDotNet 0.14.0 and Grpc.Tools 2.67.0 #2652

@brgirgis

Description

@brgirgis

Upgrading to latest BenchmarkDotNet causes projects with protobuf files to fail. Last known good version is 0.13.12. The difference seems to be related to the newly added parameters for the build step:

  • 0.13.12:

    start dotnet  build -c Release --no-restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 /p:Deterministic=true /p:Optimize=true in /path/to/PerformanceTests/bin/Release/net8.0/945898c9-e8ca-4ce1-afdf-c4f6c3f66d8b
    
  • Problematic 0.14.0

    start dotnet  build -c Release --no-restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 /p:Deterministic=true /p:Optimize=true /p:IntermediateOutputPath="/path/to/PerformanceTests/bin/Release/net8.0/2faf0c9d-78ff-4730-8350-c4a193d9211f/obj/Release/net8.0/" /p:OutDir="/path/to/PerformanceTests/bin/Release/net8.0/2faf0c9d-78ff-4730-8350-c4a193d9211f/bin/Release/net8.0/" /p:OutputPath="/path/to/PerformanceTests/bin/Release/net8.0/2faf0c9d-78ff-4730-8350-c4a193d9211f/bin/Release/net8.0/" --output "/path/to/PerformanceTests/bin/Release/net8.0/2faf0c9d-78ff-4730-8350-c4a193d9211f/bin/Release/net8.0/" in /path/to/PerformanceTests/bin/Release/net8.0/2faf0c9d-78ff-4730-8350-c4a193d9211f
    

It looks like the new parameters are confusing the Grpc.Tools package somehow:

  • /p:IntermediateOutputPath
  • /p:OutDir
  • /p:OutputPath
  • --output

It would be great to be able to restore the old behavior somehow.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions