BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Benchmark failed to build when specifying JobId to `Default`
Benchmark failed to build when explicitly JobId as Default with .WithId("Default").
It seems to be reserved by BenchmarkDotNet internally.
Error Logs
// Build Error: Standard output:
Standard error:
MSBUILD : error MSB4177: Invalid property. The name " LaunchCount" contains an invalid character " ".
// BenchmarkDotNet has failed to build the auto-generated boilerplate code.
// It can be found in C:\Temp\BenchmarkProj\bin\Release\net8.0\IterationCount=3, LaunchCount=1, RunStrategy=Monitoring, WarmupCount=3
It might be better to throw exception if reserved id is specified by WithId. or separate JobId/JobDisplayName (It's proposed at https://github.com/dotnet/BenchmarkDotNet/issues/2411)