diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-06-13 18:19:27 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:03:48 -0400 |
commit | 93551c094139d4446ef5c4fc69bcda26e49e62bd (patch) | |
tree | 0bd8c3244f2d0f0b4c875e9e22ad6050c64950b4 /src/SMAPI.ModBuildConfig/build | |
parent | d5a7465b0219c3d736b1ac5aff1758ba41887fcc (diff) | |
download | SMAPI-93551c094139d4446ef5c4fc69bcda26e49e62bd.tar.gz SMAPI-93551c094139d4446ef5c4fc69bcda26e49e62bd.tar.bz2 SMAPI-93551c094139d4446ef5c4fc69bcda26e49e62bd.zip |
add temporary backwards compatibility for SDV 1.3.36 in mod build package
Diffstat (limited to 'src/SMAPI.ModBuildConfig/build')
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index e9209a45..103e996a 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -98,7 +98,7 @@ <Private>false</Private> <Private Condition="$(CopyModReferencesToBuildOutput)">true</Private> </Reference> - <Reference Include="StardewValley.GameData"> + <Reference Include="StardewValley.GameData" Condition="Exists('$(GamePath)\StardewValley.GameData.dll')"> <!--temporary backwards-compatibility--> <HintPath>$(GamePath)\StardewValley.GameData.dll</HintPath> <Private>false</Private> <Private Condition="$(CopyModReferencesToBuildOutput)">true</Private> @@ -112,6 +112,9 @@ <HintPath>$(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll</HintPath> <Private>false</Private> <Private Condition="$(CopyModReferencesToBuildOutput)">true</Private> + + <!-- temporary backwards-compatibility --> + <HintPath Condition="!Exists('$(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll') AND Exists('$(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll')">$(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll</HintPath> </Reference> <Reference Include="xTile, Version=2.0.4.0, Culture=neutral, processorArchitecture=x86"> <HintPath>$(GamePath)\xTile.dll</HintPath> @@ -142,7 +145,7 @@ <Private>false</Private> <Private Condition="$(CopyModReferencesToBuildOutput)">true</Private> </Reference> - <Reference Include="StardewValley.GameData.MonoGame"> + <Reference Include="StardewValley.GameData.MonoGame" Condition="Exists('$(GamePath)\StardewValley.GameData.MonoGame.dll')"> <!--temporary backwards-compatibility--> <HintPath>$(GamePath)\StardewValley.GameData.MonoGame.dll</HintPath> <Private>false</Private> <Private Condition="$(CopyModReferencesToBuildOutput)">true</Private> @@ -156,6 +159,9 @@ <HintPath>$(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll</HintPath> <Private>false</Private> <Private Condition="$(CopyModReferencesToBuildOutput)">true</Private> + + <!-- temporary backwards-compatibility --> + <HintPath Condition="!Exists('$(GamePath)\smapi-internal\SMAPI.Toolkit.CoreInterfaces.dll') AND Exists('$(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll')">$(GamePath)\smapi-internal\StardewModdingAPI.Toolkit.CoreInterfaces.dll</HintPath> </Reference> <Reference Include="xTile"> <HintPath>$(GamePath)\xTile.dll</HintPath> |