anchor.diff:  #load "../../packages/build/FSharp.Formatting/FSharp.Formatting.fsx"
   #I "../../packages/build/FAKE/tools/"
   #r "FakeLib.dll"
  +
   open Fake
  -open System.IO
  -open Fake.FileHelper
  +open Fake.Core
  +open Fake.IO
  +open Fake.IO.FileSystemOperators
   open FSharp.Literate
   open FSharp.MetadataFormat
  +
  +open System.IO
   
   // When called from 'build.fsx', use the public project URL as <root>
   // otherwise, use the current 'output' directory.
  
positive.code:         formatting @@ "templates"
          formatting @@ "templates/reference"
      ])
  subDirectories (directoryInfo templates)
  |> Seq.iter (
      fun d ->
          let name = d.Name
  
negative.code:         |> List.map (fun b -> bin @@ b)
  
      let conventionBased =
          bin
          |> DirectoryInfo.ofPath
          |> DirectoryInfo.getSubDirectories
          |> Array.filter (fun x -> x.FullName @@ AppFramework |> Directory.Exists)
          |> Array.map ((fun x -> x.FullName @@ ActualFramework @@ (sprintf "%s.dll" x.Name)))
          |> Array.filter File.exists
          |> List.ofArray
  
      conventionBased @ manuallyAdded)
  
  let libDirs = lazy (
      bin
      |> DirectoryInfo.ofPath
      |> DirectoryInfo.getSubDirectories
      |> Seq.map (fun x -> x.FullName @@ ActualFramework)
      |> Seq.filter Directory.Exists
      |> List.ofSeq
      |> List.append [bin])
  
  // Build API reference from XML comments
  let buildReference isRelease =
      copyFiles()
      Shell.cleanDir (output @@ "reference")
      MetadataFormat.Generate
          (
              binaries.Value, output @@ "reference", layoutRootsAll.["en"],
  