From 0e5fbf859f32a6efaea5fd7bb97e97fccbb949cf Mon Sep 17 00:00:00 2001 From: Claudio Schaad Date: Thu, 22 Oct 2026 13:03:37 +0200 Subject: [PATCH] Centralize target framework and pin SDK version Move TargetFramework into Directory.Build.props and add global.json pinning the .NET SDK to 10.0.100 (rollForward latestFeature). Co-Authored-By: Claude Opus 5.5 --- Directory.Build.props | 5 +++++ Schaad.Accounting.Common/Schaad.Accounting.Common.csproj | 1 - Schaad.Accounting.Db/Schaad.Accounting.Db.csproj | 4 ---- .../Schaad.Accounting.Services.csproj | 4 ---- Schaad.Accounting.Tests/Schaad.Accounting.Tests.csproj | 1 - Schaad.Accounting.UI/Schaad.Accounting.UI.csproj | 1 - global.json | 6 ++++++ 7 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 Directory.Build.props create mode 100644 global.json diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..67b2324 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,5 @@ + + + net9.0 + + diff --git a/Schaad.Accounting.Common/Schaad.Accounting.Common.csproj b/Schaad.Accounting.Common/Schaad.Accounting.Common.csproj index 785533a..e0bb8a7 100644 --- a/Schaad.Accounting.Common/Schaad.Accounting.Common.csproj +++ b/Schaad.Accounting.Common/Schaad.Accounting.Common.csproj @@ -1,7 +1,6 @@ - net9.0 Schaad.Accounting \ No newline at end of file diff --git a/Schaad.Accounting.Db/Schaad.Accounting.Db.csproj b/Schaad.Accounting.Db/Schaad.Accounting.Db.csproj index 61bf499..4c69d8d 100644 --- a/Schaad.Accounting.Db/Schaad.Accounting.Db.csproj +++ b/Schaad.Accounting.Db/Schaad.Accounting.Db.csproj @@ -1,9 +1,5 @@  - - net9.0 - - diff --git a/Schaad.Accounting.Services/Schaad.Accounting.Services.csproj b/Schaad.Accounting.Services/Schaad.Accounting.Services.csproj index 7a3f336..dda0c57 100644 --- a/Schaad.Accounting.Services/Schaad.Accounting.Services.csproj +++ b/Schaad.Accounting.Services/Schaad.Accounting.Services.csproj @@ -1,9 +1,5 @@ - - net9.0 - - diff --git a/Schaad.Accounting.Tests/Schaad.Accounting.Tests.csproj b/Schaad.Accounting.Tests/Schaad.Accounting.Tests.csproj index b52e27d..0b9cd8b 100644 --- a/Schaad.Accounting.Tests/Schaad.Accounting.Tests.csproj +++ b/Schaad.Accounting.Tests/Schaad.Accounting.Tests.csproj @@ -1,7 +1,6 @@  - net9.0 enable enable false diff --git a/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj b/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj index ae57f4f..d9c617f 100644 --- a/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj +++ b/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj @@ -1,7 +1,6 @@ - net9.0 enable enable diff --git a/global.json b/global.json new file mode 100644 index 0000000..512142d --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.100", + "rollForward": "latestFeature" + } +}