We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b4b27 commit cb839a1Copy full SHA for cb839a1
Scripts/post_build.ps1
@@ -40,6 +40,10 @@ function Delete-Unused ($path, $config) {
40
$target = "$path\Output\$config"
41
$included = Get-ChildItem $target -Filter "*.dll"
42
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
+ }
47
$deleteList = Get-ChildItem $target\Plugins -Filter $i.Name -Recurse | Where { $_.VersionInfo.FileVersion -eq $i.VersionInfo.FileVersion -And $_.Name -eq $i.Name }
48
$deleteList | ForEach-Object{ Write-Host Deleting duplicated $_.Name with version $_.VersionInfo.FileVersion at location $_.Directory.FullName }
49
$deleteList | Remove-Item
0 commit comments