summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-06-16 14:18:30 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:04:58 -0400
commit480b307e6220e5a503f02ed857873ec8a0720e91 (patch)
tree7235fc72223acf4a52fec4b76276d92212edb5e9 /src/SMAPI.ModBuildConfig/build
parent059a59a7bcb560b938f0baf54575719e57962e0c (diff)
downloadSMAPI-480b307e6220e5a503f02ed857873ec8a0720e91.tar.gz
SMAPI-480b307e6220e5a503f02ed857873ec8a0720e91.tar.bz2
SMAPI-480b307e6220e5a503f02ed857873ec8a0720e91.zip
include PDB files in mod builds by default
Diffstat (limited to 'src/SMAPI.ModBuildConfig/build')
-rw-r--r--src/SMAPI.ModBuildConfig/build/smapi.targets4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets
index 103e996a..f797b0d1 100644
--- a/src/SMAPI.ModBuildConfig/build/smapi.targets
+++ b/src/SMAPI.ModBuildConfig/build/smapi.targets
@@ -17,6 +17,10 @@
<Platforms>x86</Platforms>
<PlatformTarget>x86</PlatformTarget>
+ <!-- include PDB file by default to enable line numbers in stack traces -->
+ <DebugType>pdbonly</DebugType>
+ <DebugSymbols>true</DebugSymbols>
+
<!-- recognise XNA Framework DLLs in the GAC (only affects mods using new csproj format) -->
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>