From 5218387c484307cddb6c91da40c7e8edaf082263 Mon Sep 17 00:00:00 2001
From: Xian55 <367101+Xian55@users.noreply.github.com>
Date: Tue, 10 Sep 2024 02:03:41 +0200
Subject: [PATCH] Solution: Moved platform targets from individual projects to
Directory.Packages.props
---
BlazorServer/BlazorServer.csproj | 1 -
Core/Core.csproj | 7 +++----
CoreTests/CoreTests.csproj | 1 -
DataConfig/DataConfig.csproj | 4 ----
Directory.Packages.props | 1 +
Frontend/Frontend.csproj | 1 -
Game/Game.csproj | 4 ----
HeadlessServer/HeadlessServer.csproj | 1 -
PPather/PPather.csproj | 1 -
PathingAPI/PathingAPI.csproj | 5 ++---
SharedLib/SharedLib.csproj | 3 +--
WinAPI/WinAPI.csproj | 1 -
WowheadDB/WowheadDB.csproj | 1 -
13 files changed, 7 insertions(+), 24 deletions(-)
diff --git a/BlazorServer/BlazorServer.csproj b/BlazorServer/BlazorServer.csproj
index 59df12b5..73fa3253 100644
--- a/BlazorServer/BlazorServer.csproj
+++ b/BlazorServer/BlazorServer.csproj
@@ -4,7 +4,6 @@
enable
84fcf2b0-dc89-4b31-b09b-fdd65679d1d2
app.manifest
- AnyCPU;x64;x86
diff --git a/Core/Core.csproj b/Core/Core.csproj
index c2fdabdf..3c411ad4 100644
--- a/Core/Core.csproj
+++ b/Core/Core.csproj
@@ -1,10 +1,9 @@
- AnyCPU;x64;x86
- enable
- True
- preview
+ enable
+ True
+ preview
diff --git a/CoreTests/CoreTests.csproj b/CoreTests/CoreTests.csproj
index 73e4b733..f4effb39 100644
--- a/CoreTests/CoreTests.csproj
+++ b/CoreTests/CoreTests.csproj
@@ -2,7 +2,6 @@
WinExe
- AnyCPU;x64;x86
app.manifest
true
diff --git a/DataConfig/DataConfig.csproj b/DataConfig/DataConfig.csproj
index 5c7dd830..389c0541 100644
--- a/DataConfig/DataConfig.csproj
+++ b/DataConfig/DataConfig.csproj
@@ -1,9 +1,5 @@
-
- AnyCPU;x64;x86
-
-
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 0775e7b4..8b02b24c 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -2,6 +2,7 @@
net9.0
true
+ AnyCPU;x64;x86
diff --git a/Frontend/Frontend.csproj b/Frontend/Frontend.csproj
index d1c641ca..a957c1e5 100644
--- a/Frontend/Frontend.csproj
+++ b/Frontend/Frontend.csproj
@@ -3,7 +3,6 @@
enable
enable
- AnyCPU;x64;x86
diff --git a/Game/Game.csproj b/Game/Game.csproj
index ff05b3c7..04a2445e 100644
--- a/Game/Game.csproj
+++ b/Game/Game.csproj
@@ -1,9 +1,5 @@
-
- AnyCPU;x64;x86
-
-
diff --git a/HeadlessServer/HeadlessServer.csproj b/HeadlessServer/HeadlessServer.csproj
index 83e76d4c..b9d23d55 100644
--- a/HeadlessServer/HeadlessServer.csproj
+++ b/HeadlessServer/HeadlessServer.csproj
@@ -5,7 +5,6 @@
enable
enable
app.manifest
- AnyCPU;x64;x86
diff --git a/PPather/PPather.csproj b/PPather/PPather.csproj
index aa0e4e3a..2096c145 100644
--- a/PPather/PPather.csproj
+++ b/PPather/PPather.csproj
@@ -1,7 +1,6 @@
- AnyCPU;x64;x86
True
diff --git a/PathingAPI/PathingAPI.csproj b/PathingAPI/PathingAPI.csproj
index 5e7e7392..cefe7981 100644
--- a/PathingAPI/PathingAPI.csproj
+++ b/PathingAPI/PathingAPI.csproj
@@ -1,9 +1,8 @@
- AnyCPU;x64;x86
- 199F51BE-7200-4EA9-97D0-287EFCB371BD
- PathingAPI.xml
+ 199F51BE-7200-4EA9-97D0-287EFCB371BD
+ PathingAPI.xml
diff --git a/SharedLib/SharedLib.csproj b/SharedLib/SharedLib.csproj
index b6904ca1..13f9f315 100644
--- a/SharedLib/SharedLib.csproj
+++ b/SharedLib/SharedLib.csproj
@@ -1,8 +1,7 @@
- AnyCPU;x64;x86
- true
+ true
diff --git a/WinAPI/WinAPI.csproj b/WinAPI/WinAPI.csproj
index 588a61b2..3cec35a3 100644
--- a/WinAPI/WinAPI.csproj
+++ b/WinAPI/WinAPI.csproj
@@ -1,7 +1,6 @@
- AnyCPU;x64;x86
true
diff --git a/WowheadDB/WowheadDB.csproj b/WowheadDB/WowheadDB.csproj
index 7f245c83..f2d2fb93 100644
--- a/WowheadDB/WowheadDB.csproj
+++ b/WowheadDB/WowheadDB.csproj
@@ -3,7 +3,6 @@
Library
- AnyCPU;x64;x86