anchor.diff:  // Clean build results
   
   Target "CleanPackagesDirectory" (fun _ ->
  -    CleanDirs [packagesDir]
  +    CleanDirs [packagesDir; testResultsDir]
   )
   
   Target "DeleteOutputFiles" (fun _ ->
       !! (outputDir + @"\**\*.*")
  +       ++ (testResultsDir + @"\**\*.*")
           -- ignoreBinFilesPattern
       |> DeleteFiles
   )
  
positive.code: Target "UpdateAssemblyVersion" (fun _ ->
        let pattern = Regex("Assembly(|File)Version(\w*)\(.*\)")
        let result = "Assembly$1Version$2(\"" + version + "\")"
        let content = File.ReadAllLines(solutionAssemblyInfo, Encoding.Unicode)
                      |> Array.map(fun line -> pattern.Replace(line, result, 1))
        File.WriteAllLines(solutionAssemblyInfo, content, Encoding.Unicode)
  )
  
  Target "BuildOtherProjects" (fun _ ->    
  
negative.code: 
  Target "NuGet" (fun _ ->
      let nugetAccessPublishKey = getBuildParamOrDefault "nugetkey" nugetAccessKey
      let getOutputFile netVersion projectName ext = sprintf @"%s\%s.%s" (getProjectOutputBinDirs netVersion projectName) projectName ext
      let getBinProjectFiles netVersion projectName =  [(getOutputFile netVersion projectName "dll")
                                                        (getOutputFile netVersion projectName "xml")]
      let binProjectFiles netVersion = projectsToPackageAssemblyNames
                                         |> List.collect(fun d -> getBinProjectFiles netVersion d)
                                         |> List.filter(fun d -> File.Exists(d))
      let nugetDependencies = projectsToPackageDependencies
                                |> List.map (fun d -> d, GetPackageVersion nugetRepositoryDir d)
      
      let getNuspecFile = sprintf "%s\%s.nuspec" nuspecTemplatesDir binProjectName
  
      let preparePackage filesToPackage = 
          CreateDir (packagesDir @@ "work")
          dllDeploymentDirs.Values |> Seq.iter (fun d -> CreateDir d)
          dllDeploymentDirs |> Seq.iter (fun d -> CopyFiles d.Value (filesToPackage d.Key))
  
      let cleanPackage name = 
          DeleteDir (packagesDir @@ "work")
  
      let doPackage dependencies =   
          NuGet (fun p -> 
              {p with
                  Project = binProjectName
                  Version = version
                  ToolPath = nugetExePath
                  OutputPath = packagesDir
                  WorkingDir = packagesDir @@ "work"
                  Dependencies = dependencies
                  Publish = not (String.IsNullOrEmpty nugetAccessPublishKey)
                  AccessKey = nugetAccessPublishKey })
  