diff --git a/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj b/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj
index e7cd1f6..e74d074 100644
--- a/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj
+++ b/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj
@@ -12,7 +12,7 @@
Debug;Release
AnyCPU
9
- net5.0
+ net6.0
true
true
true
@@ -30,11 +30,11 @@
-
-
+
+
-
+
diff --git a/NetworkBenchmarkDotNet/Program.cs b/NetworkBenchmarkDotNet/Program.cs
index c60995f..06c82aa 100644
--- a/NetworkBenchmarkDotNet/Program.cs
+++ b/NetworkBenchmarkDotNet/Program.cs
@@ -12,6 +12,7 @@
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Linq;
+using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
namespace NetworkBenchmark
@@ -112,7 +113,7 @@ private static void RunBenchmark()
"The following benchmarks are failed to build: " +
string.Join(", ", summary.Reports.Where(r => !r.BuildResult.IsBuildSuccess).Select(r => r.BenchmarkCase.DisplayInfo)));
- Assert(summary.Reports.All(r => r.ExecuteResults.Any(er => er.FoundExecutable && er.Data.Any())),
+ Assert(summary.Reports.All(r => r.ExecuteResults.Any(er => er.FoundExecutable && er.Results.Any())),
"All reports should have at least one \"ExecuteResult\" with \"FoundExecutable\" = true and at least one \"Data\" item");
Assert(summary.Reports.All(report => report.AllMeasurements.Any()),