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)