From 770865e87ca38afa4c71aed18433781f20574eb3 Mon Sep 17 00:00:00 2001 From: FreePhoenix888 Date: Mon, 14 Feb 2022 14:14:48 +0600 Subject: [PATCH] Add .net6 support --- .github/workflows/CD.yml | 2 +- .../Platform.Singletons.Tests/Platform.Singletons.Tests.csproj | 2 +- csharp/Platform.Singletons/Platform.Singletons.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index b8e14b0..98f0f9a 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -19,7 +19,7 @@ jobs: with: submodules: true - name: Test - run: dotnet test -c Release -f net5 + run: dotnet test -c Release -f net6 - name: Generate PDF with CSharp code if: github.event_name == 'push' run: | diff --git a/csharp/Platform.Singletons.Tests/Platform.Singletons.Tests.csproj b/csharp/Platform.Singletons.Tests/Platform.Singletons.Tests.csproj index 46904f5..81c0908 100644 --- a/csharp/Platform.Singletons.Tests/Platform.Singletons.Tests.csproj +++ b/csharp/Platform.Singletons.Tests/Platform.Singletons.Tests.csproj @@ -1,7 +1,7 @@ - net472;netcoreapp2.1;netcoreapp3.1;net5 + net472;netcoreapp2.1;netcoreapp3.1;net5;net6 false latest enable diff --git a/csharp/Platform.Singletons/Platform.Singletons.csproj b/csharp/Platform.Singletons/Platform.Singletons.csproj index 0b1f2d4..52956e6 100644 --- a/csharp/Platform.Singletons/Platform.Singletons.csproj +++ b/csharp/Platform.Singletons/Platform.Singletons.csproj @@ -6,7 +6,7 @@ Platform.Singletons 0.2.1 Konstantin Diachenko - net472;netstandard2.0;netstandard2.1;net5 + net472;netstandard2.0;netstandard2.1;net5;net6 Platform.Singletons Platform.Singletons LinksPlatform;Singletons;Default;Global;Singleton