diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-06-16 14:18:30 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:04:58 -0400 |
commit | 480b307e6220e5a503f02ed857873ec8a0720e91 (patch) | |
tree | 7235fc72223acf4a52fec4b76276d92212edb5e9 /src/SMAPI.ModBuildConfig | |
parent | 059a59a7bcb560b938f0baf54575719e57962e0c (diff) | |
download | SMAPI-480b307e6220e5a503f02ed857873ec8a0720e91.tar.gz SMAPI-480b307e6220e5a503f02ed857873ec8a0720e91.tar.bz2 SMAPI-480b307e6220e5a503f02ed857873ec8a0720e91.zip |
include PDB files in mod builds by default
Diffstat (limited to 'src/SMAPI.ModBuildConfig')
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 4 | ||||
-rw-r--r-- | src/SMAPI.ModBuildConfig/package.nuspec | 1 |
2 files changed, 5 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> diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec index e82bded4..d7860ee1 100644 --- a/src/SMAPI.ModBuildConfig/package.nuspec +++ b/src/SMAPI.ModBuildConfig/package.nuspec @@ -19,6 +19,7 @@ - For projects using the new `.csproj` format: - 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. - 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. |