From 446b6f0d0a0db152ddfc4ffb79dcb5a0d97f9896 Mon Sep 17 00:00:00 2001 From: JamesNK Date: Sun, 12 Feb 2012 01:08:20 +0000 Subject: [PATCH] -Fixed build to not include nested directories in NuGet package --- Build/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/build.ps1 b/Build/build.ps1 index a2cbbb23..bb39c000 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -91,7 +91,7 @@ task Package -depends Build { foreach ($frameworkDir in $frameworkDirs) { - Copy-Item -Path "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" -Destination $workingDir\NuGet\lib\$frameworkDir -recurse + robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\NuGet\lib\$frameworkDir /NP /XO } } }