From 2001e5f502fc1c0ae137427e4ded84e4b4f8906f Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 19 May 2013 17:01:20 -0700 Subject: [PATCH] update package should be compatible with previous version. --- NzbDrone.Update/NzbDrone.Update.csproj | 4 ++-- build.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NzbDrone.Update/NzbDrone.Update.csproj b/NzbDrone.Update/NzbDrone.Update.csproj index df80222b5..d58956c78 100644 --- a/NzbDrone.Update/NzbDrone.Update.csproj +++ b/NzbDrone.Update/NzbDrone.Update.csproj @@ -22,7 +22,7 @@ true full false - bin\Debug\ + ..\_output\NzbDrone.Update\ DEBUG;TRACE prompt 4 @@ -31,7 +31,7 @@ x86 pdbonly true - bin\Release\ + ..\_output\NzbDrone.Update\ TRACE prompt 4 diff --git a/build.ps1 b/build.ps1 index 177741e28..db9545cef 100644 --- a/build.ps1 +++ b/build.ps1 @@ -26,12 +26,12 @@ Function Build() Function CleanFolder($path) { Write-Host Removing XMLDoc files - get-childitem $path -File -Filter *.xml | foreach ($_) {remove-item $_.fullname} + get-childitem $path -File -Filter *.xml -Recurse | foreach ($_) {remove-item $_.fullname} Write-Host Removing FluentValidation.Resources files get-childitem $path -File -Filter FluentValidation.resources.dll -recurse | foreach ($_) {remove-item $_.fullname} - get-childitem $path -File -Filter app.config | foreach ($_) {remove-item $_.fullname} + get-childitem $path -File -Filter app.config -Recurse | foreach ($_) {remove-item $_.fullname} Write-Host Removing Empty folders while (Get-ChildItem $path -recurse | where {!@(Get-ChildItem -force $_.fullname)} | Test-Path)