From 57929b3b896ae1d134960a3e89dede9e36497a71 Mon Sep 17 00:00:00 2001 From: Chrysostomos Kolovos Date: Tue, 17 Mar 2026 17:34:13 +0200 Subject: [PATCH 1/2] Updates target frameworks and dependencies - Add net10.0 target framework - Update AutoMapper to 16.x, AutoMapper.Collection to 13.x, ExpressionMapping to 10.x - Update EF Core per TFM: 8.0.16 (net8.0), 9.0.7 (net9.0), 10.0.5 (net10.0) - Update test dependencies: FluentAssertions 8.9.0, xunit 2.9.3, Test SDK 18.3.0 - Update tooling: Roslynator 4.15.0, MinVer 7.0.0 Co-Authored-By: Claude Opus 4.6 --- ...ollection.EntityFrameworkCore.Tests.csproj | 27 +++++++++++++------ ...pper.Collection.EntityFrameworkCore.csproj | 23 +++++++++++----- 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/src/AutoMapper.Collection.EntityFrameworkCore.Tests/AutoMapper.Collection.EntityFrameworkCore.Tests.csproj b/src/AutoMapper.Collection.EntityFrameworkCore.Tests/AutoMapper.Collection.EntityFrameworkCore.Tests.csproj index d0376c8..75a3e51 100644 --- a/src/AutoMapper.Collection.EntityFrameworkCore.Tests/AutoMapper.Collection.EntityFrameworkCore.Tests.csproj +++ b/src/AutoMapper.Collection.EntityFrameworkCore.Tests/AutoMapper.Collection.EntityFrameworkCore.Tests.csproj @@ -1,7 +1,7 @@ - + - net8.0;net9.0 + net8.0;net9.0;net10.0 AutoMapper.Collection.EntityFrameworkCore.Tests false @@ -11,15 +11,26 @@ - - + + + + + + + + + + + + + - - - - + + + + diff --git a/src/AutoMapper.Collection.EntityFrameworkCore/AutoMapper.Collection.EntityFrameworkCore.csproj b/src/AutoMapper.Collection.EntityFrameworkCore/AutoMapper.Collection.EntityFrameworkCore.csproj index debf8ca..c4a37c3 100644 --- a/src/AutoMapper.Collection.EntityFrameworkCore/AutoMapper.Collection.EntityFrameworkCore.csproj +++ b/src/AutoMapper.Collection.EntityFrameworkCore/AutoMapper.Collection.EntityFrameworkCore.csproj @@ -1,9 +1,9 @@ - + Collection updating support for EntityFrameworkCore with AutoMapper. Extends DBSet<T> with Persist<TDto>().InsertUpdate(dto) and Persist<TDto>().Delete(dto). Will find the matching object and will Insert/Update/Delete. Tyler Carlson - net8.0;net9.0 + net8.0;net9.0;net10.0 AutoMapper.Collection.EntityFrameworkCore AutoMapper.Collection.EntityFrameworkCore icon.png @@ -24,17 +24,28 @@ - - + + + + + + + + + + + + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive From d47cae9083ed4849e989b1ba2662a103a65b99b6 Mon Sep 17 00:00:00 2001 From: Chrysostomos Kolovos Date: Tue, 17 Mar 2026 17:35:04 +0200 Subject: [PATCH 2/2] Add .NET SDK setup to CI/release workflows windows-latest may not have .NET 8/9/10 pre-installed, so explicitly set up all required SDKs for multi-targeting. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 7 +++++++ .github/workflows/release.yml | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 255665a..3669563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,13 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Setup .NET SDKs + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 8.0.x + 9.0.x + 10.0.x - name: Build and Test run: ./Build.ps1 shell: pwsh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b7b78f..802b617 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 0 + - name: Setup .NET SDKs + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 8.0.x + 9.0.x + 10.0.x - name: Build and Test run: ./Build.ps1 shell: pwsh