From 7681327433a2ce5027a38ee5d5b71dee6eb505f3 Mon Sep 17 00:00:00 2001 From: Marcin Jahn <10273406+marcinjahn@users.noreply.github.com> Date: Wed, 27 May 2026 18:38:42 +0200 Subject: [PATCH] Drop .NET 6 target (EOL) and add .NET 10 .NET 6 reached end of support on 2024-11-12; removed from target frameworks. .NET 10 added as a new target alongside netstandard2.0 and net8.0. Tests project bumped to net10.0. Dockerfile SDK image bumped to dotnet/sdk:10.0. --- .../CSharpFunctionalExtensions.StrongName.csproj | 6 +++--- .../CSharpFunctionalExtensions.Tests.csproj | 2 +- .../CSharpFunctionalExtensions.csproj | 6 +++--- Common.Build.props | 4 ++-- Dockerfile | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CSharpFunctionalExtensions.StrongName/CSharpFunctionalExtensions.StrongName.csproj b/CSharpFunctionalExtensions.StrongName/CSharpFunctionalExtensions.StrongName.csproj index 787e2ab5..4659baf7 100644 --- a/CSharpFunctionalExtensions.StrongName/CSharpFunctionalExtensions.StrongName.csproj +++ b/CSharpFunctionalExtensions.StrongName/CSharpFunctionalExtensions.StrongName.csproj @@ -10,12 +10,12 @@ CSharpFunctionalExtensions (with a strong name) .NET Standard 2.0 - - CSharpFunctionalExtensions (with a strong name) .NET 6.0 - CSharpFunctionalExtensions (with a strong name) .NET 8.0 + + CSharpFunctionalExtensions (with a strong name) .NET 10.0 + diff --git a/CSharpFunctionalExtensions.Tests/CSharpFunctionalExtensions.Tests.csproj b/CSharpFunctionalExtensions.Tests/CSharpFunctionalExtensions.Tests.csproj index df10856e..6ec3e82a 100644 --- a/CSharpFunctionalExtensions.Tests/CSharpFunctionalExtensions.Tests.csproj +++ b/CSharpFunctionalExtensions.Tests/CSharpFunctionalExtensions.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 0618 diff --git a/CSharpFunctionalExtensions/CSharpFunctionalExtensions.csproj b/CSharpFunctionalExtensions/CSharpFunctionalExtensions.csproj index f3f18e4a..f7bdcaac 100644 --- a/CSharpFunctionalExtensions/CSharpFunctionalExtensions.csproj +++ b/CSharpFunctionalExtensions/CSharpFunctionalExtensions.csproj @@ -8,12 +8,12 @@ CSharpFunctionalExtensions .NET Standard 2.0 - - CSharpFunctionalExtensions .NET 6.0 - CSharpFunctionalExtensions .NET 8.0 + + CSharpFunctionalExtensions .NET 10.0 + diff --git a/Common.Build.props b/Common.Build.props index 0891dd0d..3bb63974 100644 --- a/Common.Build.props +++ b/Common.Build.props @@ -1,6 +1,6 @@ - netstandard2.0;net6.0;net8.0 + netstandard2.0;net8.0;net10.0 Vladimir Khorikov CSharpFunctionalExtensions - functional extensions for C# false @@ -18,4 +18,4 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb 1591;1701;1702 - \ No newline at end of file + diff --git a/Dockerfile b/Dockerfile index 9b80f8ec..f74483b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0 as build +FROM mcr.microsoft.com/dotnet/sdk:10.0 as build ARG Version WORKDIR /app