From cb839a15686eb6ee4794dc0c0b1302bf2652f9bc Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Sun, 16 Mar 2025 17:01:57 -0500 Subject: [PATCH] ignore System.Text.Encodings.Web.dll --- Scripts/post_build.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 84b9a3877..6863edb5c 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -40,6 +40,10 @@ 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"]) { + # ignore some specific dll that seems to make issue + continue + } $deleteList = Get-ChildItem $target\Plugins -Filter $i.Name -Recurse | Where { $_.VersionInfo.FileVersion -eq $i.VersionInfo.FileVersion -And $_.Name -eq $i.Name } $deleteList | ForEach-Object{ Write-Host Deleting duplicated $_.Name with version $_.VersionInfo.FileVersion at location $_.Directory.FullName } $deleteList | Remove-Item