anchor.diff:      xml.Save csproj
       
       !+ (buildDir @@ "**\\*") |> Scan |> Zip buildDir (sprintf "SolrNet-%s-sample.zip" version)
  +    
   )
   
   "Test" <== ["BuildAll"]
  
positive.code: )
  
  Target "PackageSampleApp" (fun _ ->
      let solr = "solr-1.4.0"
      let outputSolr = buildDir @@ solr
      CopyDir outputSolr solr allFiles
      DeleteDir (outputSolr @@ "solr\\data")
      let logs = outputSolr @@ "solr\\logs"
      DeleteDir logs
      CreateDir logs
  
  
negative.code:     DeleteDir (outputSampleApp @@ "obj")
      DeleteFile (outputSampleApp @@ "log.txt")
      DeleteFile (outputSampleApp @@ "SampleSolrApp.sln.cache")
      CreateDir (outputSampleApp @@ "lib")    
      !+ (outputSampleApp @@ "bin\\*") -- "**\\SampleSolrApp.*" -- "**\\SolrNet.*" 
      -- (outputSampleApp @@ "bin")
      |> Scan
      //|> Seq.iter (logf "scanned %s\n")
      |> Copy (outputSampleApp @@ "lib")
      
      ["pingsolr.js"; "license.txt"; "runsample.bat"] |> Copy buildDir
  
      let csproj = outputSampleApp @@ "SampleSolrApp.csproj"
  