From a1d9c53a2373bda935e29ed132419286dbfd3b3c Mon Sep 17 00:00:00 2001 From: Ken Tucker Date: Mon, 16 Mar 2026 13:12:20 -0400 Subject: [PATCH 1/7] Upgrade target framework from net9.0 to net10.0 --- .../ClientNoSqlDB.Samples.NetCore.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClientNoSqlDB.Samples.NetCore/ClientNoSqlDB.Samples.NetCore.csproj b/ClientNoSqlDB.Samples.NetCore/ClientNoSqlDB.Samples.NetCore.csproj index c067ba2..9078fd1 100644 --- a/ClientNoSqlDB.Samples.NetCore/ClientNoSqlDB.Samples.NetCore.csproj +++ b/ClientNoSqlDB.Samples.NetCore/ClientNoSqlDB.Samples.NetCore.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 From e5768df4faf997171ed5bf2c79a3f1bc12844f2c Mon Sep 17 00:00:00 2001 From: Ken Tucker Date: Mon, 16 Mar 2026 13:30:58 -0400 Subject: [PATCH 2/7] Update package versions in project file --- ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj index 202f08c..0856368 100644 --- a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj +++ b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj @@ -59,8 +59,8 @@ - - + + From 30242d29de8521aafb94c5d3d4ab26a6a5dec4ee Mon Sep 17 00:00:00 2001 From: Ken Tucker Date: Mon, 16 Mar 2026 13:55:27 -0400 Subject: [PATCH 3/7] Change Microsoft.Maui.Controls version to 10.0.11 Updated Microsoft.Maui.Controls package version from 10.0.50 to 10.0.11. --- ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj index 0856368..8d70051 100644 --- a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj +++ b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj @@ -59,7 +59,7 @@ - + From 0957c8880e6a0adc6a1d7a4537752bb09cf81e67 Mon Sep 17 00:00:00 2001 From: vb2ae Date: Tue, 17 Mar 2026 20:39:29 -0400 Subject: [PATCH 4/7] fix build --- .../ClientNoSqlDB.Samples.Maui.csproj | 6 +++--- ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj index 8d70051..3c353f4 100644 --- a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj +++ b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj @@ -1,7 +1,7 @@ - net10.0-ios;;net10.0-android36.0 + net10.0-ios;net10.0-android $(TargetFrameworks);net10.0-windows10.0.22621.0 @@ -58,8 +58,8 @@ - - + + diff --git a/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj b/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj index c4f5528..52f95a3 100644 --- a/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj +++ b/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj @@ -9,13 +9,13 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + From b2b95ae2eab63c4c5b780d2bce5b0cbd04630740 Mon Sep 17 00:00:00 2001 From: vb2ae Date: Thu, 19 Mar 2026 21:41:18 -0400 Subject: [PATCH 5/7] fix tests --- ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj b/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj index 52f95a3..57dffea 100644 --- a/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj +++ b/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj @@ -11,6 +11,7 @@ + runtime; build; native; contentfiles; analyzers; buildtransitive all From 6fb3f3353b6625bc9ee2dbb13929a7d84a51a6f3 Mon Sep 17 00:00:00 2001 From: vb2ae Date: Tue, 24 Mar 2026 13:56:51 -0400 Subject: [PATCH 6/7] Add .NET 10.0 support and update test project configs Added net10.0 as a target framework to core, test, and sample projects. Updated ClientNoSqlDB.Tests to target net10.0 and adjusted NuGet package versions for compatibility. Reformatted project references for consistency. Added missing using directives in test files to support new frameworks. --- .../ClientNoSqlDB.Samples.Maui.csproj | 2 +- .../ClientNoSqlDB.Tests.csproj | 35 ++++++++++--------- ClientNoSqlDB.Tests/DbTests.cs | 3 ++ ClientNoSqlDB.Tests/DbTests2.cs | 1 + ClientNoSqlDB.Tests/DbTests3.cs | 1 + ClientNoSqlDB/ClientNoSqlDB.csproj | 2 +- 6 files changed, 25 insertions(+), 19 deletions(-) diff --git a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj index 3c353f4..297a9d9 100644 --- a/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj +++ b/ClientNoSqlDB.Samples.Maui/ClientNoSqlDB.Samples.Maui.csproj @@ -1,4 +1,4 @@ - + net10.0-ios;net10.0-android diff --git a/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj b/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj index 57dffea..fa9907d 100644 --- a/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj +++ b/ClientNoSqlDB.Tests/ClientNoSqlDB.Tests.csproj @@ -1,30 +1,31 @@  - - net9.0 - enable - enable + + net10.0 - false - + false + - - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - - - - - - - + + + + + + + + + + + diff --git a/ClientNoSqlDB.Tests/DbTests.cs b/ClientNoSqlDB.Tests/DbTests.cs index a73a970..29a6a4c 100644 --- a/ClientNoSqlDB.Tests/DbTests.cs +++ b/ClientNoSqlDB.Tests/DbTests.cs @@ -1,5 +1,8 @@ using ClientNoSqlDB; +using System; +using System.Collections.Generic; using System.Diagnostics; +using System.Linq; using System.Linq.Expressions; using Xunit; diff --git a/ClientNoSqlDB.Tests/DbTests2.cs b/ClientNoSqlDB.Tests/DbTests2.cs index f110536..d36fff0 100644 --- a/ClientNoSqlDB.Tests/DbTests2.cs +++ b/ClientNoSqlDB.Tests/DbTests2.cs @@ -1,5 +1,6 @@ using ClientNoSqlDB; using ClientNoSqlDB.Serialization; +using System; using Xunit; namespace ClientNoSql.Tests diff --git a/ClientNoSqlDB.Tests/DbTests3.cs b/ClientNoSqlDB.Tests/DbTests3.cs index da2301c..390e3b3 100644 --- a/ClientNoSqlDB.Tests/DbTests3.cs +++ b/ClientNoSqlDB.Tests/DbTests3.cs @@ -1,5 +1,6 @@ using ClientNoSqlDB; using ClientNoSqlDB.Serialization; +using System; using Xunit; namespace ClientNoSql.Tests diff --git a/ClientNoSqlDB/ClientNoSqlDB.csproj b/ClientNoSqlDB/ClientNoSqlDB.csproj index 0cbbeef..2ae8fa1 100644 --- a/ClientNoSqlDB/ClientNoSqlDB.csproj +++ b/ClientNoSqlDB/ClientNoSqlDB.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net8.0;net9.0 + netstandard2.0;net8.0;net9.0;net10.0 false ClientNoSqlDB 3.0 From 505a614ec61430094280da93306f13303210e764 Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Tue, 24 Mar 2026 20:18:26 +0000 Subject: [PATCH 7/7] [CodeFactor] Apply fixes --- ClientNoSqlDB.Tests/DbTests.cs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/ClientNoSqlDB.Tests/DbTests.cs b/ClientNoSqlDB.Tests/DbTests.cs index 29a6a4c..0f09a07 100644 --- a/ClientNoSqlDB.Tests/DbTests.cs +++ b/ClientNoSqlDB.Tests/DbTests.cs @@ -1,4 +1,4 @@ -using ClientNoSqlDB; +using ClientNoSqlDB; using System; using System.Collections.Generic; using System.Diagnostics; @@ -8,7 +8,6 @@ namespace ClientNoSql.Tests { - public class AsynchronousAttribute : Attribute { } public class WorkItemTest @@ -49,9 +48,6 @@ public void TestPKTypes() TestPKKey(i => i.KeyGuid, (o, v) => o.KeyGuid = v, Guid.NewGuid()); TestPKKey(i => i.KeyGuidN, (o, v) => o.KeyGuidN = v, Guid.NewGuid()); TestPKKey(i => i.KeyGuidN, (o, v) => o.KeyGuidN = v, null); - - - } private void TestPKKey(Expression> pkGetter, Action pkSetter, T key) @@ -71,7 +67,6 @@ private void TestPKKey(Expression> pkGetter, Action(() => db.Map().Automap(i => i.Id)); } @@ -229,7 +220,6 @@ static void IdSequenceEqual(IEnumerable a, IEnumerable b) Assert.True(a.OrderBy(i => i.Id).Select(i => i.Id).SequenceEqual(b.OrderBy(i => i.Id).Select(i => i.Id))); } - private void LoadData() { var localTable = db.Table(); @@ -249,7 +239,6 @@ public void SaveData() var obj = table.LoadByKey(key); Assert.Equal(newObj.Name, obj.Name); - }); } @@ -288,20 +277,17 @@ public void LoadDataBulk() }); } - private void Compact() { table.Compact(); } - private void CheckInfo() { _ = table.GetInfo(); _ = db.GetInfo(); } - [Fact] public void RoundTripNulls() { @@ -663,7 +649,6 @@ public void TestDeleteByKeyObj() table.Save(obj); Assert.True(table.DeleteByKey((object)obj.Id)); - } public void Dispose()