Skip to content

Commit

Permalink
Solution: Moved platform targets from individual projects to Director…
Browse files Browse the repository at this point in the history
…y.Packages.props
  • Loading branch information
Xian55 committed Sep 10, 2024
1 parent cff9e52 commit 5218387
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 24 deletions.
1 change: 0 additions & 1 deletion BlazorServer/BlazorServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<nullable>enable</nullable>
<UserSecretsId>84fcf2b0-dc89-4b31-b09b-fdd65679d1d2</UserSecretsId>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
7 changes: 3 additions & 4 deletions Core/Core.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
<nullable>enable</nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
<nullable>enable</nullable>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion CoreTests/CoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<Platforms>AnyCPU;x64;x86</Platforms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
4 changes: 0 additions & 4 deletions DataConfig/DataConfig.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion Frontend/Frontend.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions Game/Game.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GregsStack.InputSimulatorStandard" />
<PackageReference Include="TextCopy" />
Expand Down
1 change: 0 additions & 1 deletion HeadlessServer/HeadlessServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion PPather/PPather.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
5 changes: 2 additions & 3 deletions PathingAPI/PathingAPI.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
<UserSecretsId>199F51BE-7200-4EA9-97D0-287EFCB371BD</UserSecretsId>
<DocumentationFile>PathingAPI.xml</DocumentationFile>
<UserSecretsId>199F51BE-7200-4EA9-97D0-287EFCB371BD</UserSecretsId>
<DocumentationFile>PathingAPI.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions SharedLib/SharedLib.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion WinAPI/WinAPI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Platforms>AnyCPU;x64;x86</Platforms>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
1 change: 0 additions & 1 deletion WowheadDB/WowheadDB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<StartupObject></StartupObject>
<Platforms>AnyCPU;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 5218387

Please sign in to comment.