diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-06-17 18:52:03 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:10:59 -0400 |
commit | 2cf2b6706f9e31775b1afe05980cfaed96ab1690 (patch) | |
tree | 52c229732cb7542e408e6287d95a08f2fabdbe6f /src | |
parent | 1a8c7345c3986acd172f91716bbf04fc7192317b (diff) | |
download | SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.tar.gz SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.tar.bz2 SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.zip |
move game detection into toolkit for reuse
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 3 | ||||
-rw-r--r-- | src/SMAPI.ModBuildConfig/package.nuspec | 1 |
2 files changed, 3 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> diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec index d7860ee1..37d7959e 100644 --- a/src/SMAPI.ModBuildConfig/package.nuspec +++ b/src/SMAPI.ModBuildConfig/package.nuspec @@ -20,6 +20,7 @@ - platform target is now set to x86 automatically to avoid mismatching platform target warnings; - added GAC to assembly search paths to fix references to XNA Framework. - Builds now include `.pdb` files by default, to enable line numbers in error stack traces. + - You can now optionally disable game debugging config. - Fixed `Newtonsoft.Json.pdb` included in release zips when Json.NET is referenced directly. - Fixed `<IgnoreModFilePatterns>` not working for `i18n` files. - Dropped support for older versions of SMAPI and Visual Studio. |