This is the error written to the console when trying to run benchmarks:
// Benchmark: GetHeaderSplitBenchmark.SplitDoubleHeader: Job-IHVIBP(Server=True, Toolchain=.NET Core 5.0, RunStrategy=Throughput)
// *** Execute ***
// Launch: 1 / 1
// Execute: dotnet "47fa91ed-99c2-4976-8c16-a2a9a36949c5.exe" --benchmarkName "Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks.GetHeaderSplitBenchmark.SplitDoubleHeader" --job "Server=True, Toolchain=.NET Core 5.0, RunStrategy=Throughput" --benchmarkId 2 in C:\Development\Source\AspNetCore\artifacts\bin\Microsoft.AspNetCore.Http.Microbenchmarks\Release\net5.0\47fa91ed-99c2-4976-8c16-a2a9a36949c5\bin\Release\net5.0
Error:
An assembly specified in the application dependencies manifest (47fa91ed-99c2-4976-8c16-a2a9a36949c5.deps.json) has already been found but with a different file extension:
package: '47fa91ed-99c2-4976-8c16-a2a9a36949c5', version: '5.0.0-dev'
path: '47fa91ed-99c2-4976-8c16-a2a9a36949c5.dll'
previously found assembly: 'C:\Development\Source\AspNetCore\artifacts\bin\Microsoft.AspNetCore.Http.Microbenchmarks\Release\net5.0\47fa91ed-99c2-4976-8c16-a2a9a36949c5\bin\Release\net5.0\47fa91ed-99c2-4976-8c16-a2a9a36949c5.exe'
ExitCode != 0
// Benchmark Process 83440 has exited with code -2147450740
No more Benchmark runs will be launched as NO measurements were obtained from the previous run!
We believe this issue began when dotnet/aspnetcore was updated to the net5.0 target framework.
App is using BenchmarkDotNet 0.12.1.
How do we fix this error?
This is the error written to the console when trying to run benchmarks:
We believe this issue began when dotnet/aspnetcore was updated to the
net5.0target framework.App is using BenchmarkDotNet 0.12.1.
How do we fix this error?