summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig/build/smapi.targets
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-06-17 18:52:03 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:10:59 -0400
commit2cf2b6706f9e31775b1afe05980cfaed96ab1690 (patch)
tree52c229732cb7542e408e6287d95a08f2fabdbe6f /src/SMAPI.ModBuildConfig/build/smapi.targets
parent1a8c7345c3986acd172f91716bbf04fc7192317b (diff)
downloadSMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.tar.gz
SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.tar.bz2
SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.zip
move game detection into toolkit for reuse
Diffstat (limited to 'src/SMAPI.ModBuildConfig/build/smapi.targets')
-rw-r--r--src/SMAPI.ModBuildConfig/build/smapi.targets3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets
index f797b0d1..7d29da0b 100644
--- a/src/SMAPI.ModBuildConfig/build/smapi.targets
+++ b/src/SMAPI.ModBuildConfig/build/smapi.targets
@@ -29,6 +29,7 @@
<ModZipPath Condition="'$(ModZipPath)' == ''">$(TargetDir)</ModZipPath>
<EnableModDeploy Condition="'$(EnableModDeploy)' == ''">True</EnableModDeploy>
<EnableModZip Condition="'$(EnableModZip)' == ''">True</EnableModZip>
+ <EnableGameDebugging Condition="$(EnableGameDebugging) == ''">True</EnableGameDebugging>
<CopyModReferencesToBuildOutput Condition="'$(CopyModReferencesToBuildOutput)' == ''">False</CopyModReferencesToBuildOutput>
</PropertyGroup>
@@ -129,7 +130,7 @@
</ItemGroup>
<!-- launch game for debugging -->
- <PropertyGroup>
+ <PropertyGroup Condition="$(EnableGameDebugging) == 'True'">
<StartAction>Program</StartAction>
<StartProgram>$(GamePath)\StardewModdingAPI.exe</StartProgram>
<StartWorkingDirectory>$(GamePath)</StartWorkingDirectory>