Skip to content

Commit cb839a1

Browse files
committed
ignore System.Text.Encodings.Web.dll
1 parent 01b4b27 commit cb839a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Scripts/post_build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ function Delete-Unused ($path, $config) {
4040
$target = "$path\Output\$config"
4141
$included = Get-ChildItem $target -Filter "*.dll"
4242
foreach ($i in $included){
43+
if ($i.Name in ["System.Text.Encodings.Web.dll"]) {
44+
# ignore some specific dll that seems to make issue
45+
continue
46+
}
4347
$deleteList = Get-ChildItem $target\Plugins -Filter $i.Name -Recurse | Where { $_.VersionInfo.FileVersion -eq $i.VersionInfo.FileVersion -And $_.Name -eq $i.Name }
4448
$deleteList | ForEach-Object{ Write-Host Deleting duplicated $_.Name with version $_.VersionInfo.FileVersion at location $_.Directory.FullName }
4549
$deleteList | Remove-Item

0 commit comments

Comments
 (0)