Skip to content

Commit 8e26a4c

Browse files
committed
delete only the first level dll
1 parent d770e6d commit 8e26a4c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Scripts/post_build.ps1

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

0 commit comments

Comments
 (0)