diff --git a/sample/StackTrace/StackTrace.csproj b/sample/StackTrace/StackTrace.csproj
index 3e72966..8699af6 100644
--- a/sample/StackTrace/StackTrace.csproj
+++ b/sample/StackTrace/StackTrace.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.0
+ netcoreapp2.1
diff --git a/test/Ben.Demystifier.Benchmarks/Ben.Demystifier.Benchmarks.csproj b/test/Ben.Demystifier.Benchmarks/Ben.Demystifier.Benchmarks.csproj
index 84dc64e..6c761d2 100644
--- a/test/Ben.Demystifier.Benchmarks/Ben.Demystifier.Benchmarks.csproj
+++ b/test/Ben.Demystifier.Benchmarks/Ben.Demystifier.Benchmarks.csproj
@@ -1,6 +1,6 @@
-
+
- netcoreapp2.1;netcoreapp2.0;net462
+ netcoreapp2.1;netcoreapp3.1;net462;net5.0
Release
Exe
diff --git a/test/Ben.Demystifier.Benchmarks/Exceptions.cs b/test/Ben.Demystifier.Benchmarks/Exceptions.cs
index 12417a9..c41396e 100644
--- a/test/Ben.Demystifier.Benchmarks/Exceptions.cs
+++ b/test/Ben.Demystifier.Benchmarks/Exceptions.cs
@@ -2,11 +2,14 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using BenchmarkDotNet.Attributes;
-using BenchmarkDotNet.Attributes.Jobs;
+using BenchmarkDotNet.Jobs;
namespace Ben.Demystifier.Benchmarks
{
- [ClrJob, CoreJob]
+ [SimpleJob(RuntimeMoniker.Net48)]
+ [SimpleJob(RuntimeMoniker.NetCoreApp21)]
+ [SimpleJob(RuntimeMoniker.NetCoreApp31)]
+ [SimpleJob(RuntimeMoniker.NetCoreApp50)]
[Config(typeof(Config))]
public class ExceptionTests
{
diff --git a/test/Ben.Demystifier.Benchmarks/Program.cs b/test/Ben.Demystifier.Benchmarks/Program.cs
index 4b8a7e4..ac893e7 100644
--- a/test/Ben.Demystifier.Benchmarks/Program.cs
+++ b/test/Ben.Demystifier.Benchmarks/Program.cs
@@ -43,6 +43,6 @@ namespace Ben.Demystifier.Benchmarks
internal class Config : ManualConfig
{
- public Config() => Add(new MemoryDiagnoser());
+ public Config() => AddDiagnoser(MemoryDiagnoser.Default);
}
}
diff --git a/test/Ben.Demystifier.Test/Ben.Demystifier.Test.csproj b/test/Ben.Demystifier.Test/Ben.Demystifier.Test.csproj
index e3c3689..4fb9218 100644
--- a/test/Ben.Demystifier.Test/Ben.Demystifier.Test.csproj
+++ b/test/Ben.Demystifier.Test/Ben.Demystifier.Test.csproj
@@ -1,13 +1,14 @@
- netcoreapp2.1;netcoreapp2.0;net46
+ netcoreapp2.1;netcoreapp3.1;net46;net5.0
true
..\..\src\Ben.Demystifier\key.snk
false
+