BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

Deadlock when SDK is not installed

Open YegorStepanov opened this issue 3 years ago • 0 comments
trafficstars

[DryJob(RuntimeMoniker.Net50)] //this can be changed for example to RuntimeMoniker.NetCoreApp20
public class Benchmarks
{
    [Benchmark] public void Method() { }
}

I waited 20 min (10min is a timeout), nothing has changed.

// Benchmark: BenchmarkClass1.Method: Default-.NET 5.0(Runtime=.NET 5.0)
// *** Execute ***
// Launch: 1 / 1
// Execute: dotnet 8ba28a4a-8517-449f-95a6-54f11551ed2b.dll --anonymousPipes 7480 7564 --benchmarkName BenchmarkDotNet.Samples.BenchmarkClass1.Method --job "Default-.NET
 5.0" --benchmarkId 0 in C:\src\github\BenchmarkDotNet\samples\BenchmarkDotNet.Samples\bin\Release\net6.0\8ba28a4a-8517-449f-95a6-54f11551ed2b\bin\Release\net5.0

This happens even when a target benchmark framework is not selected:

result is the same:
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>

YegorStepanov avatar Nov 17 '22 15:11 YegorStepanov