You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest rc.1 of .net 8, BenchmarkDotNet directly crashes at startup.
Reproduction
publicclassProgram{publicstaticvoidMain(string[]args){varconfig=DefaultConfig.Instance;varsummary=BenchmarkRunner.Run<Benchmarks>(config,args);// Use this to select benchmarks from the console:// var summaries = BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);}}publicclassBenchmarks{[Benchmark]publicvoidScenario1(){// Implement your benchmark here}[Benchmark]publicvoidScenario2(){// Implement your benchmark here}}
Will lead to the following error:
/Users/stevengiesel/repos/Repro/bin/Debug/net8.0/Repro
// Validating benchmarks:
Process finished with exit code 139.
If I add a global.json forcing preview.7, it works:
dotnet --info
.NET SDK:
Version: 8.0.100-rc.1.23455.8
Commit: e14caf947f
Runtime Environment:
OS Name: Mac OS X
OS Version: 13.5
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/8.0.100-rc.1.23455.8/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.0-rc.1.23419.4
Architecture: arm64
Commit: 92959931a3
RID: osx-arm64
The text was updated successfully, but these errors were encountered:
I guess we can close the issue - that seems more related to Rider than to net8.0 itself.
If I build the example with dotnet build, everything works as expected.
With the latest rc.1 of .net 8, BenchmarkDotNet directly crashes at startup.
Reproduction
Will lead to the following error:
If I add a
global.json
forcing preview.7, it works:I am running this on a MacBook M2:
The text was updated successfully, but these errors were encountered: