diff --git a/Zstandard.Net.Benchmark/DontForceGcCollectionsConfig.cs b/Zstandard.Net.Benchmark/DontForceGcCollectionsConfig.cs
index 7831150..61b47ed 100644
--- a/Zstandard.Net.Benchmark/DontForceGcCollectionsConfig.cs
+++ b/Zstandard.Net.Benchmark/DontForceGcCollectionsConfig.cs
@@ -8,7 +8,7 @@ public class DontForceGcCollectionsConfig : ManualConfig
public DontForceGcCollectionsConfig()
{
// tell BenchmarkDotNet not to force GC collections after every iteration
- Add(Job.Default.With(new GcMode() { Force = false }));
+ AddJob(Job.Default.WithGcMode(new GcMode() { Force = false }));
}
}
}
diff --git a/Zstandard.Net.Benchmark/Zstandard.Net.Benchmark.csproj b/Zstandard.Net.Benchmark/Zstandard.Net.Benchmark.csproj
index 7c9cb2e..c578f87 100644
--- a/Zstandard.Net.Benchmark/Zstandard.Net.Benchmark.csproj
+++ b/Zstandard.Net.Benchmark/Zstandard.Net.Benchmark.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/Zstandard.Net.Tests/Zstandard.Net.Tests.csproj b/Zstandard.Net.Tests/Zstandard.Net.Tests.csproj
index ea5fa0e..f19f4eb 100644
--- a/Zstandard.Net.Tests/Zstandard.Net.Tests.csproj
+++ b/Zstandard.Net.Tests/Zstandard.Net.Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.0;net45
+ netcoreapp2.1;netcoreapp2.0;net45
@@ -10,10 +10,16 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/Zstandard.Net/Zstandard.Net.csproj b/Zstandard.Net/Zstandard.Net.csproj
index fe97d1f..ee9217d 100644
--- a/Zstandard.Net/Zstandard.Net.csproj
+++ b/Zstandard.Net/Zstandard.Net.csproj
@@ -32,7 +32,7 @@
-
+