Replace custom mono defines with toolchain-provided defines.

This commit is contained in:
Paul Chote
2022-04-24 18:45:33 +01:00
committed by Matthias Mailänder
parent 3e5666ca53
commit a152bf7324
9 changed files with 16 additions and 19 deletions

View File

@@ -2,10 +2,7 @@
<PropertyGroup>
<RootNamespace>OpenRA</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition="'$(Mono)' != ''">
<DefineConstants>MONO</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(Mono)' == ''">
<ItemGroup Condition="'$(MSBuildRuntimeType)'!='Mono'">
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup>