From 9b26508d0d493c1077838c07ee8d877859da3cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6=C3=9Fler?= Date: Thu, 16 Apr 2026 22:24:51 +0200 Subject: [PATCH 1/2] Fix project inconsistencies and typos - Rename TakoutReader folder and source file to TakeoutReader (typo fix) - Remove dead net462 condition from MetaData.csproj - Add net10.0 target to test projects for CI coverage - Fix mixed tabs/spaces indentation in MetaDataDB.csproj - Fix 'is var' always-true pattern in Image.ChangePerson (null-safety bug) - Fix typos in Gps and Util csproj descriptions - Align Copyright year range in Version.props with source file headers --- Gps/TCSystem.Gps.csproj | 2 +- MetaData/Image.cs | 2 +- MetaData/TCSystem.MetaData.csproj | 1 - MetaData/Tests/TCSystem.MetaData.Tests.csproj | 2 +- MetaDataDB/TCSystem.MetaDataDB.csproj | 10 +++++----- MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj | 2 +- TCSystem.slnx | 2 +- Tools/{TakoutReader => TakeoutReader}/Log.cs | 0 .../Properties/launchSettings.json | 0 .../TCSystem.Tools.TakeoutReader.csproj | 0 .../TakoutReader.cs => TakeoutReader/TakeoutReader.cs} | 0 Util/TCSystem.Util.csproj | 2 +- Version.props | 2 +- 13 files changed, 12 insertions(+), 13 deletions(-) rename Tools/{TakoutReader => TakeoutReader}/Log.cs (100%) rename Tools/{TakoutReader => TakeoutReader}/Properties/launchSettings.json (100%) rename Tools/{TakoutReader => TakeoutReader}/TCSystem.Tools.TakeoutReader.csproj (100%) rename Tools/{TakoutReader/TakoutReader.cs => TakeoutReader/TakeoutReader.cs} (100%) diff --git a/Gps/TCSystem.Gps.csproj b/Gps/TCSystem.Gps.csproj index 314d9f0..ad3a17f 100644 --- a/Gps/TCSystem.Gps.csproj +++ b/Gps/TCSystem.Gps.csproj @@ -4,7 +4,7 @@ TCSystem.Gps TCSystem.Gps C#, Gps Utilities - Provides Reader/Writer for reading GPS data from Google takout + Provides Reader/Writer for reading GPS data from Google takeout diff --git a/MetaData/Image.cs b/MetaData/Image.cs index fb8c1bc..d8f2488 100644 --- a/MetaData/Image.cs +++ b/MetaData/Image.cs @@ -175,7 +175,7 @@ public static Image ChangePersonTagFaceQuality(Image image, PersonTag pt, FaceQu public static Image ChangePerson(Image image, Person person) { - if (image.GetPersonTag(person.Name) is var pt) + if (image.GetPersonTag(person.Name) is { } pt) { List pts = image._personTags.ToList(); pts.Remove(pt); diff --git a/MetaData/TCSystem.MetaData.csproj b/MetaData/TCSystem.MetaData.csproj index 961972f..5d08647 100644 --- a/MetaData/TCSystem.MetaData.csproj +++ b/MetaData/TCSystem.MetaData.csproj @@ -17,7 +17,6 @@ - diff --git a/MetaData/Tests/TCSystem.MetaData.Tests.csproj b/MetaData/Tests/TCSystem.MetaData.Tests.csproj index 3665472..45ede97 100644 --- a/MetaData/Tests/TCSystem.MetaData.Tests.csproj +++ b/MetaData/Tests/TCSystem.MetaData.Tests.csproj @@ -3,7 +3,7 @@ TCSystem.MetaData.Tests TCSystem.MetaData.Tests - net8.0 + net8.0;net10.0 diff --git a/MetaDataDB/TCSystem.MetaDataDB.csproj b/MetaDataDB/TCSystem.MetaDataDB.csproj index e1e7e4e..f1ac0c6 100644 --- a/MetaDataDB/TCSystem.MetaDataDB.csproj +++ b/MetaDataDB/TCSystem.MetaDataDB.csproj @@ -11,11 +11,11 @@ - - - - - + + + + + diff --git a/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj b/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj index 7b05eac..08ed4c2 100644 --- a/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj +++ b/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj @@ -3,7 +3,7 @@ TCSystem.MetaDataDB.Tests TCSystem.MetaDataDB.Tests - net8.0 + net8.0;net10.0 diff --git a/TCSystem.slnx b/TCSystem.slnx index b02f5f0..a63130f 100644 --- a/TCSystem.slnx +++ b/TCSystem.slnx @@ -11,7 +11,7 @@ - + diff --git a/Tools/TakoutReader/Log.cs b/Tools/TakeoutReader/Log.cs similarity index 100% rename from Tools/TakoutReader/Log.cs rename to Tools/TakeoutReader/Log.cs diff --git a/Tools/TakoutReader/Properties/launchSettings.json b/Tools/TakeoutReader/Properties/launchSettings.json similarity index 100% rename from Tools/TakoutReader/Properties/launchSettings.json rename to Tools/TakeoutReader/Properties/launchSettings.json diff --git a/Tools/TakoutReader/TCSystem.Tools.TakeoutReader.csproj b/Tools/TakeoutReader/TCSystem.Tools.TakeoutReader.csproj similarity index 100% rename from Tools/TakoutReader/TCSystem.Tools.TakeoutReader.csproj rename to Tools/TakeoutReader/TCSystem.Tools.TakeoutReader.csproj diff --git a/Tools/TakoutReader/TakoutReader.cs b/Tools/TakeoutReader/TakeoutReader.cs similarity index 100% rename from Tools/TakoutReader/TakoutReader.cs rename to Tools/TakeoutReader/TakeoutReader.cs diff --git a/Util/TCSystem.Util.csproj b/Util/TCSystem.Util.csproj index d26f898..a440c3a 100644 --- a/Util/TCSystem.Util.csproj +++ b/Util/TCSystem.Util.csproj @@ -4,7 +4,7 @@ TCSystem.Util TCSystem.Util C#, Utilities - Extension functions for conatiners, utilities for implementing equals , ... + Extension functions for containers, utilities for implementing equals, ... diff --git a/Version.props b/Version.props index 4004ac3..cb2c7a2 100644 --- a/Version.props +++ b/Version.props @@ -4,7 +4,7 @@ TCSystem Thomas Gößler at.tcsystem - Copyright © $(Authors) 2026 + Copyright © $(Authors) 2003 - 2026 $([System.DateTime]::Now.ToString("yyyyMMddHHmm")) -ci.$(Timestamp) From 18686aef362ce0b6793d10411fd6909a91b42c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6=C3=9Fler?= Date: Thu, 16 Apr 2026 22:34:37 +0200 Subject: [PATCH 2/2] cleanup of xml files --- Gps/TCSystem.Gps.csproj | 2 +- Logging/TCSystem.Logging.csproj | 2 +- MetaData/TCSystem.MetaData.csproj | 2 +- MetaData/Tests/TCSystem.MetaData.Tests.csproj | 2 +- MetaDataDB/TCSystem.MetaDataDB.csproj | 2 +- MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj | 2 +- Thread/TCSystem.Thread.csproj | 2 +- Util/TCSystem.Util.csproj | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Gps/TCSystem.Gps.csproj b/Gps/TCSystem.Gps.csproj index ad3a17f..dd6b609 100644 --- a/Gps/TCSystem.Gps.csproj +++ b/Gps/TCSystem.Gps.csproj @@ -7,7 +7,7 @@ Provides Reader/Writer for reading GPS data from Google takeout - + diff --git a/Logging/TCSystem.Logging.csproj b/Logging/TCSystem.Logging.csproj index 58be33d..2c8d3d6 100644 --- a/Logging/TCSystem.Logging.csproj +++ b/Logging/TCSystem.Logging.csproj @@ -22,6 +22,6 @@ - + \ No newline at end of file diff --git a/MetaData/TCSystem.MetaData.csproj b/MetaData/TCSystem.MetaData.csproj index 5d08647..e8c0431 100644 --- a/MetaData/TCSystem.MetaData.csproj +++ b/MetaData/TCSystem.MetaData.csproj @@ -7,7 +7,7 @@ Classes for handling, storing image meta data (e.g.: Serialize as Json) - + diff --git a/MetaData/Tests/TCSystem.MetaData.Tests.csproj b/MetaData/Tests/TCSystem.MetaData.Tests.csproj index 45ede97..a6eea46 100644 --- a/MetaData/Tests/TCSystem.MetaData.Tests.csproj +++ b/MetaData/Tests/TCSystem.MetaData.Tests.csproj @@ -20,6 +20,6 @@ - + \ No newline at end of file diff --git a/MetaDataDB/TCSystem.MetaDataDB.csproj b/MetaDataDB/TCSystem.MetaDataDB.csproj index f1ac0c6..c97c03e 100644 --- a/MetaDataDB/TCSystem.MetaDataDB.csproj +++ b/MetaDataDB/TCSystem.MetaDataDB.csproj @@ -23,5 +23,5 @@ - + \ No newline at end of file diff --git a/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj b/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj index 08ed4c2..e8e2240 100644 --- a/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj +++ b/MetaDataDB/Tests/TCSystem.MetaDataDB.Tests.csproj @@ -21,6 +21,6 @@ - + \ No newline at end of file diff --git a/Thread/TCSystem.Thread.csproj b/Thread/TCSystem.Thread.csproj index efa2405..6729eb4 100644 --- a/Thread/TCSystem.Thread.csproj +++ b/Thread/TCSystem.Thread.csproj @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/Util/TCSystem.Util.csproj b/Util/TCSystem.Util.csproj index a440c3a..8d587b0 100644 --- a/Util/TCSystem.Util.csproj +++ b/Util/TCSystem.Util.csproj @@ -7,6 +7,6 @@ Extension functions for containers, utilities for implementing equals, ... - + \ No newline at end of file