From 3cc4e4cfe7ac9cf45227efa20de6317a83685bf8 Mon Sep 17 00:00:00 2001 From: Steve Ardalis Smith Date: Wed, 25 Nov 2026 08:38:58 -0500 Subject: [PATCH] Update to .NET 11 and latest dependencies - Target net11.0 - Ardalis.GuardClauses 6.0.0, Ardalis.Specification 10.0.0, Mediator 3.0.2 - Test packages: Microsoft.NET.Test.Sdk 18.12.0, coverlet.collector 10.1.1, AwesomeAssertions 9.6.0, Moq 4.21.0, xunit 2.9.3, xunit.runner.visualstudio 4.0.1 - Remove Microsoft.Extensions.Logging.Abstractions reference (NU1510: provided by net11.0) - CI/publish workflows: .NET 11 SDK, actions/checkout v7, actions/setup-dotnet v6 - Bump package version to 4.0.0 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 6 ++--- .github/workflows/publish.yml | 6 ++--- Directory.Build.props | 2 +- Directory.Packages.props | 23 +++++++++---------- .../NimblePros.SharedKernel.csproj | 7 +++--- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e9b1cd..6113564 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Setup dotnet - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: - dotnet-version: 10.0.x + dotnet-version: 11.0.x - name: Build run: dotnet build "${{ env.SOLUTION_FILE }}" --configuration Release - name: Test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be2cc16..0a10b22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,12 +18,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup dotnet - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: - dotnet-version: 10.0.x + dotnet-version: 11.0.x - name: Build run: dotnet build "${{ env.SOLUTION_FILE }}" --configuration Release diff --git a/Directory.Build.props b/Directory.Build.props index e652862..78839cb 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ true true - net8.0 + net11.0 enable enable diff --git a/Directory.Packages.props b/Directory.Packages.props index 3b2c0b9..0f0cda1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,16 +1,15 @@ - - - - - - - - - + + + + + + + + - - + + - \ No newline at end of file + diff --git a/src/NimblePros.SharedKernel/NimblePros.SharedKernel.csproj b/src/NimblePros.SharedKernel/NimblePros.SharedKernel.csproj index 671a3de..c965daa 100644 --- a/src/NimblePros.SharedKernel/NimblePros.SharedKernel.csproj +++ b/src/NimblePros.SharedKernel/NimblePros.SharedKernel.csproj @@ -13,9 +13,11 @@ https://github.com/NimblePros/SharedKernelSample Ardalis;NimblePros;DDD;Shared Kernel;SharedKernel;Domain-Driven Design;Repository;Specification;ValueObject;Value Object;Clean;Clean Architecture;Clean Architecture Template icon.png - 3.1.0 + 4.0.0 - * Make domain event methods public + * Target .NET 11 (net11.0) + * Update dependencies: Ardalis.GuardClauses 6.0.0, Ardalis.Specification 10.0.0, Mediator.Abstractions 3.0.2 + * Remove explicit Microsoft.Extensions.Logging.Abstractions reference (provided by the .NET 11 shared framework) true true @@ -27,7 +29,6 @@ -