From 448437eb0152516c1acbb70151d48fa7ced11c23 Mon Sep 17 00:00:00 2001 From: Ben Olden-Cooligan Date: Sat, 24 Aug 2024 13:44:30 -0700 Subject: [PATCH] Update excluded dlls --- NAPS2.Tools/Project/Packaging/PackageCommand.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/NAPS2.Tools/Project/Packaging/PackageCommand.cs b/NAPS2.Tools/Project/Packaging/PackageCommand.cs index eda2b278bb..0ff1e0c63b 100644 --- a/NAPS2.Tools/Project/Packaging/PackageCommand.cs +++ b/NAPS2.Tools/Project/Packaging/PackageCommand.cs @@ -84,19 +84,22 @@ private static void PopulatePackageInfo(string buildPath, Platform platform, Pac string[] excludeDlls = { // DLLs that are unneeded but missed by the built-in trimming - "D3D", - "Microsoft.DiaSymReader", "Microsoft.VisualBasic", - "mscordaccore", - "PenImc", "System.Data", "System.Private.DataContract", "System.Windows.Forms.Design", + // For WPF + "D3D", "System.Windows.Input", "System.Xaml", "UIAutomation", "WindowsBase", - "wpfgfx" + "wpfgfx", + // For debugging + "createdump", + "Microsoft.DiaSymReader", + "mscordaccore", + "mscordbi", }; var dir = new DirectoryInfo(buildPath);