From a7eb65b733fa7630f3f6f83dec3d3feecf9ebe27 Mon Sep 17 00:00:00 2001 From: Rolling2405 <223556219+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:39:30 -0700 Subject: [PATCH] Add net10.0 target framework and update CI Adds .NET 10 to library and test multi-targets while preserving netstandard2.0 (library) and net8.0 (tests). Fixes packaging icon declaration to use (was ) so it resolves correctly under multi-targeting on newer SDKs. Workflow: - Bump actions/checkout v3 -> v4 - Bump actions/setup-dotnet v3 -> v4 - Add 10.0.x to dotnet-version (alongside 3.1.x and 8.0.x) Verified locally: 353 passed (2 skipped) on both net8.0 and net10.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/net-workflow.yml | 7 ++++--- sources/NetArchTest/NetArchTest.csproj | 7 ++----- .../NetArchTest.UnitTests.csproj | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/net-workflow.yml b/.github/workflows/net-workflow.yml index 8e8b232..52e7f18 100644 --- a/.github/workflows/net-workflow.yml +++ b/.github/workflows/net-workflow.yml @@ -13,14 +13,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | 3.1.x - 8.0.x + 8.0.x + 10.0.x - name: Restore dependencies run: dotnet restore diff --git a/sources/NetArchTest/NetArchTest.csproj b/sources/NetArchTest/NetArchTest.csproj index ba45336..194a431 100644 --- a/sources/NetArchTest/NetArchTest.csproj +++ b/sources/NetArchTest/NetArchTest.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.0;net10.0 1.4.5 NeVeSpl NetArchTest.eNhancedEdition @@ -34,10 +34,7 @@ - - True - \ - + diff --git a/tests/NetArchTest.Rules.UnitTests/NetArchTest.UnitTests.csproj b/tests/NetArchTest.Rules.UnitTests/NetArchTest.UnitTests.csproj index 408cc95..6d32b46 100644 --- a/tests/NetArchTest.Rules.UnitTests/NetArchTest.UnitTests.csproj +++ b/tests/NetArchTest.Rules.UnitTests/NetArchTest.UnitTests.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net10.0 false 12 True