summaryrefslogtreecommitdiff
path: root/TrainerMod
diff options
context:
space:
mode:
authorJames Finlay <jtfinlay@ualberta.ca>2016-03-04 20:17:42 -0800
committerJames Finlay <jtfinlay@ualberta.ca>2016-03-04 20:17:42 -0800
commit9420dfb0719d7f00c36607a210c50dc4537a9626 (patch)
tree3ca8ebf487b2614a973714d9151c4e75365b5afa /TrainerMod
parented3bf29600d3e8e7cb88629bfe6da9db6339c6a8 (diff)
downloadSMAPI-9420dfb0719d7f00c36607a210c50dc4537a9626.tar.gz
SMAPI-9420dfb0719d7f00c36607a210c50dc4537a9626.tar.bz2
SMAPI-9420dfb0719d7f00c36607a210c50dc4537a9626.zip
Modify default steam path
- Tries to read from ENV variable 'SteamInstallPath'. - We can investigate using a choose for normal Steam installation paths, this'll be better for now than having to modify the csproj for every dev.
Diffstat (limited to 'TrainerMod')
-rw-r--r--TrainerMod/TrainerMod.csproj16
1 files changed, 8 insertions, 8 deletions
diff --git a/TrainerMod/TrainerMod.csproj b/TrainerMod/TrainerMod.csproj
index 61cb0829..71569885 100644
--- a/TrainerMod/TrainerMod.csproj
+++ b/TrainerMod/TrainerMod.csproj
@@ -38,7 +38,7 @@
<Private>False</Private>
</Reference>
<Reference Include="Stardew Valley">
- <HintPath>..\..\..\..\Games\SteamLibrary\steamapps\common\Stardew Valley\Stardew Valley.exe</HintPath>
+ <HintPath>$(SteamInstallPath)\steamapps\common\Stardew Valley\Stardew Valley.exe</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -49,7 +49,7 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="xTile">
- <HintPath>..\..\..\..\Games\SteamLibrary\steamapps\common\Stardew Valley\xTile.dll</HintPath>
+ <HintPath>$(SteamInstallPath)\steamapps\common\Stardew Valley\xTile.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -67,11 +67,11 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
-->
</Project> \ No newline at end of file