diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-02-09 19:16:54 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 16:58:45 -0400 |
commit | 0ba8325708d6eea6bb60121d85d4cad8ab4e7787 (patch) | |
tree | 0d8321d8dab86a5cf231bb73628de6c4f53d2fe8 | |
parent | 6b347b83a7c588638224a02840b1d90b4557ea2a (diff) | |
download | SMAPI-0ba8325708d6eea6bb60121d85d4cad8ab4e7787.tar.gz SMAPI-0ba8325708d6eea6bb60121d85d4cad8ab4e7787.tar.bz2 SMAPI-0ba8325708d6eea6bb60121d85d4cad8ab4e7787.zip |
fix Newtonsoft.Json.pdb not ignored for release zips
-rw-r--r-- | src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs | 1 | ||||
-rw-r--r-- | src/SMAPI.ModBuildConfig/package.nuspec | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs b/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs index e03683d0..4af3100f 100644 --- a/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs +++ b/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs @@ -129,6 +129,7 @@ namespace StardewModdingAPI.ModBuildConfig.Framework // Json.NET (bundled into SMAPI) || this.EqualsInvariant(file.Name, "Newtonsoft.Json.dll") + || this.EqualsInvariant(file.Name, "Newtonsoft.Json.pdb") || this.EqualsInvariant(file.Name, "Newtonsoft.Json.xml") // code analysis files diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec index 1d73c4a1..d054fd1a 100644 --- a/src/SMAPI.ModBuildConfig/package.nuspec +++ b/src/SMAPI.ModBuildConfig/package.nuspec @@ -14,6 +14,7 @@ <releaseNotes> 2.2.1: - Dropped support for very old versions of SMAPI and Visual Studio. + - Fixed `Newtonsoft.Json.pdb` included in release zips when Json.NET is referenced directly. </releaseNotes> </metadata> </package> |