From 498b9601ba8d4d2041568be0b37726bf285e2bd0 Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 28 Dec 2023 06:38:35 -0600 Subject: [PATCH] .net 8 support (#203) * upgrading to .net 8 * .NET 8.0 for sample and test projects. --------- Co-authored-by: Blaise Taylor --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- .../AutoMapper.AspNetCore.OData.EF6.csproj | 4 ++-- .../AutoMapper.AspNetCore.OData.EFCore.csproj | 8 ++++++-- .../AutoMapper.OData.EF6.Tests.csproj | 2 +- .../AutoMapper.OData.EFCore.Tests.csproj | 4 ++-- DAL.EFCore/DAL.EFCore.csproj | 6 +++++- ExpressionBuilder.Tests/ExpressionBuilder.Tests.csproj | 2 +- MigrationTool/MigrationTool.csproj | 6 +++--- SeedDatabase/SeedDatabase.csproj | 8 ++++---- 10 files changed, 26 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 528b5a0..80599d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.203 + dotnet-version: 8.x - name: Set Variables run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b282673..9e68455 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.203 + dotnet-version: 8.x - name: Set Variables run: | diff --git a/AutoMapper.AspNetCore.OData.EF6/AutoMapper.AspNetCore.OData.EF6.csproj b/AutoMapper.AspNetCore.OData.EF6/AutoMapper.AspNetCore.OData.EF6.csproj index 530489d..4f1aa4c 100644 --- a/AutoMapper.AspNetCore.OData.EF6/AutoMapper.AspNetCore.OData.EF6.csproj +++ b/AutoMapper.AspNetCore.OData.EF6/AutoMapper.AspNetCore.OData.EF6.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0 + net6.0;net7.0;net8.0 AutoMapper.AspNet.OData AutoMapper.AspNetCore.OData.EF6 Creates LINQ expressions from ODataQueryOptions and executes the query. @@ -57,7 +57,7 @@ - + all diff --git a/AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj b/AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj index 9a93820..5589d2f 100644 --- a/AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj +++ b/AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0 + net6.0;net7.0;net8.0 AutoMapper.AspNet.OData AutoMapper.AspNetCore.OData.EFCore Creates LINQ expressions from ODataQueryOptions and executes the query. @@ -29,7 +29,7 @@ - + all @@ -45,6 +45,10 @@ + + + + diff --git a/AutoMapper.OData.EF6.Tests/AutoMapper.OData.EF6.Tests.csproj b/AutoMapper.OData.EF6.Tests/AutoMapper.OData.EF6.Tests.csproj index 7a1f87b..98a6feb 100644 --- a/AutoMapper.OData.EF6.Tests/AutoMapper.OData.EF6.Tests.csproj +++ b/AutoMapper.OData.EF6.Tests/AutoMapper.OData.EF6.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 false diff --git a/AutoMapper.OData.EFCore.Tests/AutoMapper.OData.EFCore.Tests.csproj b/AutoMapper.OData.EFCore.Tests/AutoMapper.OData.EFCore.Tests.csproj index dda33a8..680b88d 100644 --- a/AutoMapper.OData.EFCore.Tests/AutoMapper.OData.EFCore.Tests.csproj +++ b/AutoMapper.OData.EFCore.Tests/AutoMapper.OData.EFCore.Tests.csproj @@ -1,13 +1,13 @@  - net7.0 + net8.0 false - + diff --git a/DAL.EFCore/DAL.EFCore.csproj b/DAL.EFCore/DAL.EFCore.csproj index ecb021d..f412e4f 100644 --- a/DAL.EFCore/DAL.EFCore.csproj +++ b/DAL.EFCore/DAL.EFCore.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0 + net6.0;net7.0;net8.0 @@ -12,4 +12,8 @@ + + + + diff --git a/ExpressionBuilder.Tests/ExpressionBuilder.Tests.csproj b/ExpressionBuilder.Tests/ExpressionBuilder.Tests.csproj index a66af0e..20514de 100644 --- a/ExpressionBuilder.Tests/ExpressionBuilder.Tests.csproj +++ b/ExpressionBuilder.Tests/ExpressionBuilder.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 false diff --git a/MigrationTool/MigrationTool.csproj b/MigrationTool/MigrationTool.csproj index 1356f0e..981647a 100644 --- a/MigrationTool/MigrationTool.csproj +++ b/MigrationTool/MigrationTool.csproj @@ -2,15 +2,15 @@ Exe - net7.0 + net8.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/SeedDatabase/SeedDatabase.csproj b/SeedDatabase/SeedDatabase.csproj index 7f601d5..e051180 100644 --- a/SeedDatabase/SeedDatabase.csproj +++ b/SeedDatabase/SeedDatabase.csproj @@ -2,13 +2,13 @@ Exe - net7.0 + net8.0 - - - + + +