add new DLL to SMAPI references, support older game versions in package, fix name on Linux/Mac (#638)
This commit is contained in:
parent
78f28357e4
commit
aa7e4b9c36
|
@ -45,10 +45,14 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="$(OS) == 'Windows_NT'">
|
<ItemGroup Condition="$(OS) == 'Windows_NT'">
|
||||||
<Reference Include="Stardew Valley">
|
<Reference Include="Stardew Valley">
|
||||||
<HintPath>$(GamePath)\Stardew Valley.exe</HintPath>
|
<HintPath>$(GamePath)\Stardew Valley.exe</HintPath>
|
||||||
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
|
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="StardewValley.GameData">
|
||||||
|
<HintPath>$(GamePath)\StardewValley.GameData.dll</HintPath>
|
||||||
|
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Netcode">
|
<Reference Include="Netcode">
|
||||||
<HintPath>$(GamePath)\Netcode.dll</HintPath>
|
<HintPath>$(GamePath)\Netcode.dll</HintPath>
|
||||||
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
|
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
|
||||||
|
@ -73,6 +77,10 @@
|
||||||
<HintPath>$(GamePath)\StardewValley.exe</HintPath>
|
<HintPath>$(GamePath)\StardewValley.exe</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="StardewValley.GameData.MonoGame">
|
||||||
|
<HintPath>$(GamePath)\StardewValley.GameData.MonoGame.dll</HintPath>
|
||||||
|
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="MonoGame.Framework">
|
<Reference Include="MonoGame.Framework">
|
||||||
<HintPath>$(GamePath)\MonoGame.Framework.dll</HintPath>
|
<HintPath>$(GamePath)\MonoGame.Framework.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
<Private>false</Private>
|
<Private>false</Private>
|
||||||
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="StardewValley.GameData">
|
<Reference Include="StardewValley.GameData" Condition="Exists('$(GamePath)\StardewValley.GameData.dll')">
|
||||||
<HintPath>$(GamePath)\StardewValley.GameData.dll</HintPath>
|
<HintPath>$(GamePath)\StardewValley.GameData.dll</HintPath>
|
||||||
<Private>false</Private>
|
<Private>false</Private>
|
||||||
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
<Reference Include="xTile, Version=2.0.4.0, Culture=neutral, processorArchitecture=x86">
|
<Reference Include="xTile, Version=2.0.4.0, Culture=neutral, processorArchitecture=x86">
|
||||||
<HintPath>$(GamePath)\xTile.dll</HintPath>
|
<HintPath>$(GamePath)\xTile.dll</HintPath>
|
||||||
<Private>false</Private>
|
<Private>false</Private>
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>false</SpecificVersion>
|
||||||
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
<Reference Include="MonoGame.Framework">
|
<Reference Include="MonoGame.Framework">
|
||||||
<HintPath>$(GamePath)\MonoGame.Framework.dll</HintPath>
|
<HintPath>$(GamePath)\MonoGame.Framework.dll</HintPath>
|
||||||
<Private>false</Private>
|
<Private>false</Private>
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>false</SpecificVersion>
|
||||||
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="StardewValley">
|
<Reference Include="StardewValley">
|
||||||
|
@ -139,8 +139,8 @@
|
||||||
<Private>false</Private>
|
<Private>false</Private>
|
||||||
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="StardewValley.GameData">
|
<Reference Include="StardewValley.GameData.MonoGame" Condition="Exists('$(GamePath)\StardewValley.GameData.MonoGame.dll')">
|
||||||
<HintPath>$(GamePath)\StardewValley.GameData.dll</HintPath>
|
<HintPath>$(GamePath)\StardewValley.GameData.MonoGame.dll</HintPath>
|
||||||
<Private>false</Private>
|
<Private>false</Private>
|
||||||
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
<Private Condition="$(CopyModReferencesToBuildOutput)">true</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
|
Loading…
Reference in New Issue