From 1a6edc023f1e3593d2af845cbf47d3efd1901105 Mon Sep 17 00:00:00 2001 From: Xian55 <367101+Xian55@users.noreply.github.com> Date: Sun, 8 Sep 2024 12:13:07 +0200 Subject: [PATCH] Solution: Switch to ManagePackageVersionsCentrally Solution: use 9.0.100-preview.7 as target --- BlazorServer/BlazorServer.csproj | 26 ++++++--------- BlazorServer/global.json | 5 --- Core/Core.csproj | 12 +++---- CoreTests/CoreTests.csproj | 13 ++++---- DataConfig/DataConfig.csproj | 3 +- Directory.Packages.props | 48 ++++++++++++++++++++++++++++ Frontend/Frontend.csproj | 9 +++--- Game/Game.csproj | 7 ++-- HeadlessServer/HeadlessServer.csproj | 31 +++++++++--------- PPather/PPather.csproj | 1 - PathingAPI/PathingAPI.csproj | 14 ++++---- SharedLib/SharedLib.csproj | 7 ++-- WinAPI/WinAPI.csproj | 7 ++-- WowheadDB/WowheadDB.csproj | 3 +- global.json | 5 +++ 15 files changed, 110 insertions(+), 81 deletions(-) delete mode 100644 BlazorServer/global.json create mode 100644 Directory.Packages.props create mode 100644 global.json diff --git a/BlazorServer/BlazorServer.csproj b/BlazorServer/BlazorServer.csproj index f485d91b..59df12b5 100644 --- a/BlazorServer/BlazorServer.csproj +++ b/BlazorServer/BlazorServer.csproj @@ -1,20 +1,12 @@  - net8.0 enable 84fcf2b0-dc89-4b31-b09b-fdd65679d1d2 app.manifest AnyCPU;x64;x86 - - - - - - - @@ -33,15 +25,15 @@ - - - - - - - - - + + + + + + + + + diff --git a/BlazorServer/global.json b/BlazorServer/global.json deleted file mode 100644 index f3365c41..00000000 --- a/BlazorServer/global.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "sdk": { - "version": "8.0.100" - } -} \ No newline at end of file diff --git a/Core/Core.csproj b/Core/Core.csproj index cd657325..c2fdabdf 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -1,10 +1,10 @@  - net8.0 AnyCPU;x64;x86 enable True + preview @@ -12,11 +12,11 @@ - - - - - + + + + + diff --git a/CoreTests/CoreTests.csproj b/CoreTests/CoreTests.csproj index b145d2cf..73e4b733 100644 --- a/CoreTests/CoreTests.csproj +++ b/CoreTests/CoreTests.csproj @@ -1,19 +1,18 @@ - + WinExe - net8.0 AnyCPU;x64;x86 app.manifest true - - - - - + + + + + diff --git a/DataConfig/DataConfig.csproj b/DataConfig/DataConfig.csproj index a33fa69f..5c7dd830 100644 --- a/DataConfig/DataConfig.csproj +++ b/DataConfig/DataConfig.csproj @@ -1,12 +1,11 @@ - net8.0 AnyCPU;x64;x86 - + diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..0775e7b4 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,48 @@ + + + net9.0 + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Frontend/Frontend.csproj b/Frontend/Frontend.csproj index cff3bbdd..d1c641ca 100644 --- a/Frontend/Frontend.csproj +++ b/Frontend/Frontend.csproj @@ -1,7 +1,6 @@ - net8.0 enable enable AnyCPU;x64;x86 @@ -12,10 +11,10 @@ - - - - + + + + diff --git a/Game/Game.csproj b/Game/Game.csproj index e26a089b..ff05b3c7 100644 --- a/Game/Game.csproj +++ b/Game/Game.csproj @@ -1,14 +1,13 @@ - net8.0 AnyCPU;x64;x86 - - - + + + diff --git a/HeadlessServer/HeadlessServer.csproj b/HeadlessServer/HeadlessServer.csproj index 80a910a4..7d535c32 100644 --- a/HeadlessServer/HeadlessServer.csproj +++ b/HeadlessServer/HeadlessServer.csproj @@ -2,7 +2,6 @@ Exe - net8.0 enable enable app.manifest @@ -28,21 +27,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/PPather/PPather.csproj b/PPather/PPather.csproj index 87381769..aa0e4e3a 100644 --- a/PPather/PPather.csproj +++ b/PPather/PPather.csproj @@ -1,7 +1,6 @@ - net8.0 AnyCPU;x64;x86 True diff --git a/PathingAPI/PathingAPI.csproj b/PathingAPI/PathingAPI.csproj index e107ab40..5e7e7392 100644 --- a/PathingAPI/PathingAPI.csproj +++ b/PathingAPI/PathingAPI.csproj @@ -1,19 +1,17 @@ - net8.0 AnyCPU;x64;x86 + 199F51BE-7200-4EA9-97D0-287EFCB371BD PathingAPI.xml - - - - - - - + + + + + diff --git a/SharedLib/SharedLib.csproj b/SharedLib/SharedLib.csproj index 554fa31b..b6904ca1 100644 --- a/SharedLib/SharedLib.csproj +++ b/SharedLib/SharedLib.csproj @@ -1,15 +1,14 @@  - net8.0 AnyCPU;x64;x86 true - - - + + + diff --git a/WinAPI/WinAPI.csproj b/WinAPI/WinAPI.csproj index d7011cc9..588a61b2 100644 --- a/WinAPI/WinAPI.csproj +++ b/WinAPI/WinAPI.csproj @@ -1,15 +1,14 @@ - net8.0 AnyCPU;x64;x86 true - - - + + + diff --git a/WowheadDB/WowheadDB.csproj b/WowheadDB/WowheadDB.csproj index e00476a5..7f245c83 100644 --- a/WowheadDB/WowheadDB.csproj +++ b/WowheadDB/WowheadDB.csproj @@ -1,14 +1,13 @@ - net8.0 Library AnyCPU;x64;x86 - + diff --git a/global.json b/global.json new file mode 100644 index 00000000..bbbd4341 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "9.0.100-preview.7" + } +} \ No newline at end of file