From 8fb2201cbda4076b230753cfb73a6422cb0d46da Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 26 Jan 2026 15:53:20 +0000
Subject: [PATCH 1/2] Update dotnet monorepo to v10
---
Directory.Packages.props | 10 +++++-----
.../Dapper.Tests.Performance.csproj | 2 +-
global.json | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index bbccb6da5..0a55ea14c 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,10 +5,10 @@
-
+
-
+
@@ -24,8 +24,8 @@
-
-
+
+
@@ -43,7 +43,7 @@
-
+
diff --git a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
index fa18bd9c5..65b5de128 100644
--- a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
+++ b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
@@ -58,7 +58,7 @@
-
+
diff --git a/global.json b/global.json
index 2cbaab19b..f7b5e40c2 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "9.0.101",
+ "version": "10.0.102",
"rollForward": "latestMajor"
}
}
\ No newline at end of file
From f9a92deaad1dc9fdf80a76398f05e90f82de16af Mon Sep 17 00:00:00 2001
From: CodeLogicAI
Date: Mon, 26 Jan 2026 16:08:04 +0000
Subject: [PATCH 2/2] Update .NET dependencies to version 10 and add net10.0
target framework
This commit updates the Dapper solution to support .NET 10:
- Updated NuGet package versions to .NET 10 compatible versions
- Added net10.0 target framework to main library, tests, and benchmarks
- Updated Microsoft.Data.SqlClient from 6.0.1 to 6.1.1 (required by EF Core 10)
- Updated Azure.Identity from 1.13.2 to 1.14.2 (required by Microsoft.Data.SqlClient 6.1.1)
- Fixed EF Core version compatibility for different target frameworks:
- net462: EF Core 3.1.10 (last version supporting .NET Framework)
- net8.0: EF Core 9.0.1
- net10.0: EF Core 10.0.2
All projects now build successfully with .NET SDK 10.0.102.
---
Dapper/Dapper.csproj | 2 +-
Directory.Packages.props | 4 ++--
.../Dapper.Tests.Performance.csproj | 10 +++++++---
tests/Dapper.Tests/Dapper.Tests.csproj | 2 +-
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/Dapper/Dapper.csproj b/Dapper/Dapper.csproj
index af5febfb8..98d8f11eb 100644
--- a/Dapper/Dapper.csproj
+++ b/Dapper/Dapper.csproj
@@ -5,7 +5,7 @@
orm;sql;micro-orm
A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc. Major Sponsor: Dapper Plus from ZZZ Projects.
Sam Saffron;Marc Gravell;Nick Craver
- net461;netstandard2.0;net8.0
+ net461;netstandard2.0;net8.0;net10.0
enable
true
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 0a55ea14c..b669bc775 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -12,7 +12,7 @@
-
+
@@ -23,7 +23,7 @@
-
+
diff --git a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
index 65b5de128..0b05c7021 100644
--- a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
+++ b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj
@@ -3,7 +3,7 @@
Dapper.Tests.Performance
Dapper Core Performance Suite
Exe
- net462;net8.0
+ net462;net8.0;net10.0
false
$(NoWarn);IDE0063;IDE0034;IDE0059;IDE0060
@@ -58,12 +58,16 @@
-
+
-
+
+
+
+
+
diff --git a/tests/Dapper.Tests/Dapper.Tests.csproj b/tests/Dapper.Tests/Dapper.Tests.csproj
index 4c242bf81..76271c372 100644
--- a/tests/Dapper.Tests/Dapper.Tests.csproj
+++ b/tests/Dapper.Tests/Dapper.Tests.csproj
@@ -2,7 +2,7 @@
Dapper.Tests
Dapper Core Test Suite
- net481;net8.0;net9.0
+ net481;net8.0;net9.0;net10.0
$(DefineConstants);MSSQLCLIENT
$(NoWarn);IDE0017;IDE0034;IDE0037;IDE0039;IDE0042;IDE0044;IDE0051;IDE0052;IDE0059;IDE0060;IDE0063;IDE1006;xUnit1004;CA1806;CA1816;CA1822;CA1825;CA2208;CA1861
enable