From 1cdf4ada187dc2d6338e89a18c2db604f0483c4b Mon Sep 17 00:00:00 2001 From: Oleksandr Vasyliev Date: Wed, 3 Jan 2024 14:18:15 +0200 Subject: [PATCH] Add .NET 8 support --- .github/workflows/publish-nuget.yml | 3 +- ...tyFrameworkCore.Extensions.sln.DotSettings | 4 ++- ...ocus.EntityFrameworkCore.Extensions.csproj | 8 ++++- ...EntityFrameworkCore.Extensions.Test.csproj | 31 +++++++++++++------ 4 files changed, 34 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 90fc967..19193af 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -14,10 +14,11 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-dotnet@v1.9.0 with: - dotnet-version: | + dotnet-version: | 3.1.x 5.0.x 6.0.x + 8.0.x - name: Publish NuGet id: publishNuGet uses: brandedoutcast/publish-nuget@v2.5.5 diff --git a/SpatialFocus.EntityFrameworkCore.Extensions.sln.DotSettings b/SpatialFocus.EntityFrameworkCore.Extensions.sln.DotSettings index a0ab352..751888d 100644 --- a/SpatialFocus.EntityFrameworkCore.Extensions.sln.DotSettings +++ b/SpatialFocus.EntityFrameworkCore.Extensions.sln.DotSettings @@ -58,7 +58,7 @@ OnSingleLine OneStep 1 - <copyright file="$FILENAME$" company="Spatial Focus"> + <copyright file="${File.FileName}" company="Spatial Focus"> Copyright (c) Spatial Focus. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information. </copyright> @@ -228,6 +228,7 @@ Licensed under the MIT license. See LICENSE file in the project root for full li LIVE_MONITOR DO_NOTHING LIVE_MONITOR + True True True True @@ -241,4 +242,5 @@ Licensed under the MIT license. See LICENSE file in the project root for full li True True True + True True \ No newline at end of file diff --git a/src/SpatialFocus.EntityFrameworkCore.Extensions/SpatialFocus.EntityFrameworkCore.Extensions.csproj b/src/SpatialFocus.EntityFrameworkCore.Extensions/SpatialFocus.EntityFrameworkCore.Extensions.csproj index 681218d..5d04c2b 100644 --- a/src/SpatialFocus.EntityFrameworkCore.Extensions/SpatialFocus.EntityFrameworkCore.Extensions.csproj +++ b/src/SpatialFocus.EntityFrameworkCore.Extensions/SpatialFocus.EntityFrameworkCore.Extensions.csproj @@ -1,7 +1,7 @@  - netstandard2.1;net5.0;net6.0 + net5.0;net6.0;net8.0;netstandard2.1 @@ -53,6 +53,12 @@ + + + + + + diff --git a/test/SpatialFocus.EntityFrameworkCore.Extensions.Test/SpatialFocus.EntityFrameworkCore.Extensions.Test.csproj b/test/SpatialFocus.EntityFrameworkCore.Extensions.Test/SpatialFocus.EntityFrameworkCore.Extensions.Test.csproj index ee717c3..8137760 100644 --- a/test/SpatialFocus.EntityFrameworkCore.Extensions.Test/SpatialFocus.EntityFrameworkCore.Extensions.Test.csproj +++ b/test/SpatialFocus.EntityFrameworkCore.Extensions.Test/SpatialFocus.EntityFrameworkCore.Extensions.Test.csproj @@ -1,16 +1,22 @@  - netcoreapp3.1;net5.0;net6.0 + net5.0;net6.0;net8.0;netcoreapp3.1 false - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + @@ -30,8 +36,15 @@ + + + + + + - + - + \ No newline at end of file