diff --git a/.travis.yml b/.travis.yml
index c1de8cb..6afbb51 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ language: csharp
solution: plist-cil.sln
mono:
- none
-dotnet: 2.2
+dotnet: 5.0
dist: bionic
git:
depth: false
diff --git a/README.md b/README.md
index c600f7a..3f20e65 100644
--- a/README.md
+++ b/README.md
@@ -24,9 +24,15 @@ They originate from the NeXTSTEP programming environment and are now a basic par
* Cocoa / NeXTSTEP / GNUstep ASCII
## Requirements
-.NET Framework 4.0, Mono or .NET Core.
-Targets .NET Framework 4.0, .NET Framework 4.5, .NET Standard 1.3, .NET Standard 1.4 and .NET Standard 1.6 so it should be compatible with Mono, Xamarin.iOS, Xamarin.Mac, UWP, etc.
-If you find an incompatibility, please create an issue.
+plist-cil targets:
+
+- .NET Framework 4.5,
+- .NET Standard 2.0
+- .NET Core 2.1
+- .NET Core 3.1.
+- .NET 5.0
+
+This means it should be compatible with Mono, Xamarin.iOS, Xamarin.Mac, UWP, etc. If you find an incompatibility, please create an issue.
## Download
diff --git a/plist-cil.benchmark/BinaryPropertyListParserBenchmarks.cs b/plist-cil.benchmark/BinaryPropertyListParserBenchmarks.cs
index 2885af7..881223e 100644
--- a/plist-cil.benchmark/BinaryPropertyListParserBenchmarks.cs
+++ b/plist-cil.benchmark/BinaryPropertyListParserBenchmarks.cs
@@ -1,10 +1,10 @@
-using System.IO;
-using BenchmarkDotNet.Attributes;
-using BenchmarkDotNet.Attributes.Jobs;
+using BenchmarkDotNet.Attributes;
+using BenchmarkDotNet.Jobs;
+using System.IO;
namespace Claunia.PropertyList.Benchmark
{
- [CoreJob]
+ [SimpleJob(RuntimeMoniker.NetCoreApp50)]
[MemoryDiagnoser]
public class BinaryPropertyListParserBenchmarks
{
diff --git a/plist-cil.benchmark/BinaryPropertyListWriterBenchmarks.cs b/plist-cil.benchmark/BinaryPropertyListWriterBenchmarks.cs
index f40b807..3196637 100644
--- a/plist-cil.benchmark/BinaryPropertyListWriterBenchmarks.cs
+++ b/plist-cil.benchmark/BinaryPropertyListWriterBenchmarks.cs
@@ -1,9 +1,9 @@
using BenchmarkDotNet.Attributes;
-using BenchmarkDotNet.Attributes.Jobs;
+using BenchmarkDotNet.Jobs;
namespace Claunia.PropertyList.Benchmark
{
- [CoreJob]
+ [SimpleJob(RuntimeMoniker.NetCoreApp50)]
[MemoryDiagnoser]
public class BinaryPropertyListWriterBenchmarks
{
diff --git a/plist-cil.benchmark/plist-cil.benchmark.csproj b/plist-cil.benchmark/plist-cil.benchmark.csproj
index 1ce0f46..36cc1e8 100644
--- a/plist-cil.benchmark/plist-cil.benchmark.csproj
+++ b/plist-cil.benchmark/plist-cil.benchmark.csproj
@@ -2,12 +2,12 @@
Exe
- netcoreapp2.1
+ net5.0
Claunia.PropertyList.Benchmark
-
+
diff --git a/plist-cil.test/NSNumberTests.cs b/plist-cil.test/NSNumberTests.cs
index 9075a3f..299821e 100644
--- a/plist-cil.test/NSNumberTests.cs
+++ b/plist-cil.test/NSNumberTests.cs
@@ -110,8 +110,6 @@ namespace plistcil.test
// The value being used comes seen in a real property list:
// TimeZoneOffsetFromUTC
// 7200.000000
-
- #if !NETCORE
[Fact]
[UseCulture("en-US")]
public static void ParseNumberEnTest()
@@ -156,7 +154,6 @@ namespace plistcil.test
Assert.True(number.isReal());
Assert.Equal(7200d, number.ToDouble());
}
-#endif
public static IEnumerable
-
-
+
+