From 9ed2babd0df54dff25b354d58a001ca6790843bb Mon Sep 17 00:00:00 2001 From: korzh Date: Mon, 9 Nov 2026 00:19:19 +0200 Subject: [PATCH] Retarget the samples to .NET 10 - TargetFramework net6.0/net8.0 -> net10.0 (net10.0-windows for WinForms/WPF) - ASP.NET Core, EF Core and Microsoft.Extensions packages -> 10.0.14; per-project VersionOverride attributes removed so the central versions apply - Pin Microsoft.Data.SqlClient 6.1.8: EF Core 10 resolves 6.1.7, whose System.Security.Cryptography.Pkcs 9.0.11 is vulnerable (NU1902/NU1903) - Drop System.Net.Http and System.Text.RegularExpressions references, which are part of the framework on net10.0 (NU1510) - READMEs: .NET 10 in the framework tables and SDK links --- Directory.Packages.props | 10 +++++----- EqDemoWinFormsNet6/EqDemoWinFormsNet6.csproj | 2 +- EqDemoWinFormsNet6/README.md | 4 ++-- README.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index af73b1a..bf116be 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,11 +19,11 @@ - - - - - + + + + + diff --git a/EqDemoWinFormsNet6/EqDemoWinFormsNet6.csproj b/EqDemoWinFormsNet6/EqDemoWinFormsNet6.csproj index 6bbc32b..f157181 100644 --- a/EqDemoWinFormsNet6/EqDemoWinFormsNet6.csproj +++ b/EqDemoWinFormsNet6/EqDemoWinFormsNet6.csproj @@ -1,7 +1,7 @@ WinExe - net6.0-windows + net10.0-windows true EqDemo diff --git a/EqDemoWinFormsNet6/README.md b/EqDemoWinFormsNet6/README.md index 20d1cce..91b1636 100644 --- a/EqDemoWinFormsNet6/README.md +++ b/EqDemoWinFormsNet6/README.md @@ -8,7 +8,7 @@ Part of [EasyQuery samples for Windows Forms](../README.md). | | | |---|---| -| Host | .NET 6 | +| Host | .NET 10 | | UI | Windows Forms | | Language | C# | | EasyQuery | 7.5.0 — `Korzh.EasyQuery.Db`, `Korzh.EasyQuery.WinForms`, `Korzh.EasyQuery.SqlServerGate`, `Korzh.EasyQuery.EntityFrameworkCore.Relational` | @@ -17,7 +17,7 @@ Part of [EasyQuery samples for Windows Forms](../README.md). ## Prerequisites -* [.NET 6 SDK](https://dotnet.microsoft.com/download) +* [.NET 10 SDK](https://dotnet.microsoft.com/download) * Windows; Visual Studio 2022 17.2 or later is recommended * SQL Server Express LocalDB (installed with Visual Studio) diff --git a/README.md b/README.md index 6f0e6cb..1b84deb 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ to .NET applications. The samples in this repository show it on Windows Forms. | Sample | Scenario | Stack | |---|---|---| -| [Query builder (.NET)](EqDemoWinFormsNet6) | Query builder | .NET 6 · Windows Forms · C# | +| [Query builder (.NET)](EqDemoWinFormsNet6) | Query builder | .NET 10 · Windows Forms · C# | | [Query builder (.NET Framework)](EqDemoWinFormsNet4) | Query builder | .NET Framework 4.8.1 · Windows Forms · C# | | [Query builder (.NET Framework, Visual Basic)](EqDemoWinFormsNet4VB) | Query builder | .NET Framework 4.7.2 · Windows Forms · Visual Basic |