summaryrefslogtreecommitdiff
path: root/TrainerMod/TrainerMod.csproj
diff options
context:
space:
mode:
authorClxS <slxxls92@gmail.com>2016-03-12 22:36:30 +0000
committerClxS <slxxls92@gmail.com>2016-03-12 22:36:30 +0000
commit78609647e9e5ed6310942eaf104f495353e328e3 (patch)
tree278bf90be1aff05e623c17e3cebc37709b20d898 /TrainerMod/TrainerMod.csproj
parentbc84a66a6fd2dd3b334eaf8405ef8b4fc6b4acc0 (diff)
parentd367b0a7bceeac210ee7336477f98559b6122d13 (diff)
downloadSMAPI-78609647e9e5ed6310942eaf104f495353e328e3.tar.gz
SMAPI-78609647e9e5ed6310942eaf104f495353e328e3.tar.bz2
SMAPI-78609647e9e5ed6310942eaf104f495353e328e3.zip
Updated release branch to 0.37.3
Diffstat (limited to 'TrainerMod/TrainerMod.csproj')
-rw-r--r--TrainerMod/TrainerMod.csproj23
1 files changed, 19 insertions, 4 deletions
diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj
index c7dbe94f..ddf1b317 100644
--- a/TrainerMod/TrainerMod.csproj
+++ b/TrainerMod/TrainerMod.csproj
@@ -17,8 +17,8 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <OutputPath>..\StardewModdingAPI\bin\x86\Debug\Mods\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
@@ -33,6 +33,18 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
+ <Choose>
+ <When Condition="'$(SteamInstallPath)' != ''">
+ <PropertyGroup>
+ <SteamPath>$(SteamInstallPath)</SteamPath>
+ </PropertyGroup>
+ </When>
+ <Otherwise>
+ <PropertyGroup>
+ <SteamPath>..\..\..\..\Games\SteamLibrary</SteamPath>
+ </PropertyGroup>
+ </Otherwise>
+ </Choose>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86">
<Private>False</Private>
@@ -41,7 +53,8 @@
<Private>False</Private>
</Reference>
<Reference Include="Stardew Valley">
- <HintPath>$(SteamInstallPath)\steamapps\common\Stardew Valley\Stardew Valley.exe</HintPath>
+ <HintPath>$(SteamPath)\steamapps\common\Stardew Valley\Stardew Valley.exe</HintPath>
+ <Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -52,7 +65,8 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="xTile">
- <HintPath>$(SteamInstallPath)\steamapps\common\Stardew Valley\xTile.dll</HintPath>
+ <HintPath>$(SteamPath)\steamapps\common\Stardew Valley\xTile.dll</HintPath>
+ <Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -63,6 +77,7 @@
<ProjectReference Include="..\StardewModdingAPI\StardewModdingAPI.csproj">
<Project>{f1a573b0-f436-472c-ae29-0b91ea6b9f8f}</Project>
<Name>StardewModdingAPI</Name>
+ <Private>False</Private>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />