diff --git a/build.ps1 b/build.ps1 index e399c7702..0dc2bcfbe 100644 --- a/build.ps1 +++ b/build.ps1 @@ -33,7 +33,6 @@ Function CleanFolder($path) get-childitem $path -File -Filter *.transform -Recurse | foreach ($_) {remove-item $_.fullname} - get-childitem $path -File -Filter Newtonsoft.Json.* -Recurse | foreach ($_) {remove-item $_.fullname} Write-Host Removing FluentValidation.Resources files get-childitem $path -File -Filter FluentValidation.resources.dll -recurse | foreach ($_) {remove-item $_.fullname} @@ -50,6 +49,7 @@ Function CleanFolder($path) Function AddJsonNet() { + get-childitem $outputFolder -File -Filter Newtonsoft.Json.* -Recurse | foreach ($_) {remove-item $_.fullname} Copy-Item .\packages\Newtonsoft.Json.5.*\lib\net35\*.* -Destination $outputFolder }