From 63b8eb8940939b3d2c626146bf67dc7296f9cb71 Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Wed, 29 Apr 2026 06:52:07 +0100 Subject: [PATCH 1/6] first snapshot, warnings --- Dapper.StrongName/Dapper.StrongName.csproj | 2 ++ Dapper/Dapper.csproj | 2 ++ Directory.Build.props | 2 +- Directory.Packages.props | 18 ++++++++++-------- tests/Dapper.Tests/Dapper.Tests.csproj | 1 + 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/Dapper.StrongName/Dapper.StrongName.csproj b/Dapper.StrongName/Dapper.StrongName.csproj index 2aae43d73..705385fd6 100644 --- a/Dapper.StrongName/Dapper.StrongName.csproj +++ b/Dapper.StrongName/Dapper.StrongName.csproj @@ -19,10 +19,12 @@ + + diff --git a/Dapper/Dapper.csproj b/Dapper/Dapper.csproj index 98d8f11eb..d9518dc45 100644 --- a/Dapper/Dapper.csproj +++ b/Dapper/Dapper.csproj @@ -26,10 +26,12 @@ + + diff --git a/Directory.Build.props b/Directory.Build.props index cb8af4d2d..227e4eed5 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -14,7 +14,7 @@ git https://github.com/DapperLib/Dapper false - $(NOWARN);IDE0056;IDE0057;IDE0079 + $(NOWARN);IDE0056;IDE0057;IDE0079;DX1001 true embedded en-US diff --git a/Directory.Packages.props b/Directory.Packages.props index 8787a7767..e6871d9ea 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,28 +3,30 @@ + - + - + - - + + - - - + + + + - + diff --git a/tests/Dapper.Tests/Dapper.Tests.csproj b/tests/Dapper.Tests/Dapper.Tests.csproj index e02bb4ba3..3fe1aca8d 100644 --- a/tests/Dapper.Tests/Dapper.Tests.csproj +++ b/tests/Dapper.Tests/Dapper.Tests.csproj @@ -24,6 +24,7 @@ + From 03e1d5ba32f09f54a4bf346c57f08ade8340b9e7 Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Wed, 29 Apr 2026 07:11:19 +0100 Subject: [PATCH 2/6] intermediate --- Directory.Packages.props | 22 +++++++++---------- .../Dapper.Tests.Performance.csproj | 14 ++++++------ tests/Dapper.Tests/Dapper.Tests.csproj | 6 ++++- tests/Dapper.Tests/MiscTests.cs | 2 +- 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e6871d9ea..e9e57d322 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,9 +6,9 @@ - + - + @@ -23,17 +23,17 @@ - + - + - + - - + + - + @@ -45,10 +45,10 @@ - + - + - + \ No newline at end of file diff --git a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj index fa18bd9c5..9ca09fa5e 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 + net472;net8.0 false $(NoWarn);IDE0063;IDE0034;IDE0059;IDE0060 @@ -29,12 +29,12 @@ - + - - + + @@ -50,10 +50,10 @@ - + $(DefineConstants);NET4X - + @@ -63,7 +63,7 @@ - + diff --git a/tests/Dapper.Tests/Dapper.Tests.csproj b/tests/Dapper.Tests/Dapper.Tests.csproj index 3fe1aca8d..e6ceb1728 100644 --- a/tests/Dapper.Tests/Dapper.Tests.csproj +++ b/tests/Dapper.Tests/Dapper.Tests.csproj @@ -25,6 +25,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + @@ -33,7 +37,7 @@ - + diff --git a/tests/Dapper.Tests/MiscTests.cs b/tests/Dapper.Tests/MiscTests.cs index 9323be671..12cf7f1a7 100644 --- a/tests/Dapper.Tests/MiscTests.cs +++ b/tests/Dapper.Tests/MiscTests.cs @@ -9,7 +9,7 @@ using Microsoft.CSharp.RuntimeBinder; using Xunit; -#if NETCOREAPP3_1 || NET462 || NET472 +#if NETCOREAPP3_1 || NET472 namespace System.Runtime.CompilerServices { [EditorBrowsable(EditorBrowsableState.Never)] From 36a894cada82b6ed0896ab37397782c93c8dcdb0 Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Wed, 29 Apr 2026 07:18:45 +0100 Subject: [PATCH 3/6] more --- Directory.Packages.props | 10 ++++++---- .../Dapper.Tests.Performance.csproj | 2 +- tests/Dapper.Tests/Dapper.Tests.csproj | 7 ++++++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e9e57d322..ec26aab14 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,6 +10,8 @@ + + @@ -27,7 +29,7 @@ - + @@ -36,13 +38,13 @@ - + - - + + diff --git a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj index 9ca09fa5e..5e7894668 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/tests/Dapper.Tests/Dapper.Tests.csproj b/tests/Dapper.Tests/Dapper.Tests.csproj index e6ceb1728..f07e69096 100644 --- a/tests/Dapper.Tests/Dapper.Tests.csproj +++ b/tests/Dapper.Tests/Dapper.Tests.csproj @@ -33,7 +33,6 @@ - @@ -53,4 +52,10 @@ PreserveNewest + + + + + + From c4aa19ee3a1c60ae013ec02d5577ad7978e9cd4f Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Wed, 29 Apr 2026 07:28:33 +0100 Subject: [PATCH 4/6] more fixings --- Directory.Packages.props | 7 +++---- .../Dapper.Tests.Performance.csproj | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index ec26aab14..19c2ac3a3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,8 +10,6 @@ - - @@ -20,7 +18,7 @@ - + @@ -39,7 +37,7 @@ - + @@ -48,6 +46,7 @@ + diff --git a/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj b/benchmarks/Dapper.Tests.Performance/Dapper.Tests.Performance.csproj index 5e7894668..f9692833a 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 - net472;net8.0 + net472;net10.0 false $(NoWarn);IDE0063;IDE0034;IDE0059;IDE0060 @@ -27,6 +27,8 @@ + + From 1bb441b3f7092763c4faa695f3c65591023bb78f Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Wed, 29 Apr 2026 07:51:46 +0100 Subject: [PATCH 5/6] cleanup --- tests/Dapper.Tests/Dapper.Tests.csproj | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/Dapper.Tests/Dapper.Tests.csproj b/tests/Dapper.Tests/Dapper.Tests.csproj index f07e69096..17e3f1cc6 100644 --- a/tests/Dapper.Tests/Dapper.Tests.csproj +++ b/tests/Dapper.Tests/Dapper.Tests.csproj @@ -25,14 +25,11 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + @@ -52,10 +49,4 @@ PreserveNewest - - - - - - From 4cc34e5a064531d48d5ab4457911c7c0e38c1658 Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Wed, 29 Apr 2026 07:53:44 +0100 Subject: [PATCH 6/6] nuke NETCOREAPP3_1 ref --- tests/Dapper.Tests/MiscTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Dapper.Tests/MiscTests.cs b/tests/Dapper.Tests/MiscTests.cs index 12cf7f1a7..077e93647 100644 --- a/tests/Dapper.Tests/MiscTests.cs +++ b/tests/Dapper.Tests/MiscTests.cs @@ -9,7 +9,7 @@ using Microsoft.CSharp.RuntimeBinder; using Xunit; -#if NETCOREAPP3_1 || NET472 +#if NET472 namespace System.Runtime.CompilerServices { [EditorBrowsable(EditorBrowsableState.Never)]