From a870e2773a2eeffdbced2c47842323f7c88dd8f1 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Sun, 16 Mar 2025 17:07:33 -0500 Subject: [PATCH] fix ignore list --- Scripts/post_build.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 6863edb5c..40f102ab4 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -40,7 +40,9 @@ function Delete-Unused ($path, $config) { $target = "$path\Output\$config" $included = Get-ChildItem $target -Filter "*.dll" foreach ($i in $included){ - if ($i.Name in ["System.Text.Encodings.Web.dll"]) { + $ignored = ["System.Text.Encodings.Web.dll"] + + if ($ignored.Contains($i.Name)) { # ignore some specific dll that seems to make issue continue }