anchor.diff:  //#r @"bin/Debug/Xake.Core.dll"
   
   open Xake
  +open Xake.SystemTasks
   
   let TestsAssembly = "bin/XakeLibTests.dll"
  -
  -let systemClr cmd args =
  -    let cmd',args' = if Xake.Env.isUnix then "mono", cmd::args else cmd,args
  -    in system cmd' args'
   
   do xake {ExecOptions.Default with Vars = ["NETFX-TARGET", "4.5"]; FileLog = "build.log"; ConLogLevel = Verbosity.Chatty } {
   
  
positive.code: let file = System.IO.Path.Combine("packages", "Xake.Core.dll")
  if not (System.IO.File.Exists file) then
      printf "downloading xake.core assembly..."; System.IO.Directory.CreateDirectory("packages") |> ignore
      let url = "https://github.com/OlegZee/Xake/releases/download/v0.6.26/Xake.Core.dll"
      use wc = new System.Net.WebClient() in wc.DownloadFile(url, file + "__"); System.IO.File.Move(file + "__", file)
      printfn ""
  
  
negative.code:             do! rm ["bin/*.*"]
          }
  
          "get-deps" =>
          action {
              try
                  do! system (useClr >> checkErrorLevel) ".paket/paket.bootstrapper.exe" [] |> Action.Ignore
                  do! system (useClr >> checkErrorLevel) ".paket/paket.exe" ["install"] |> Action.Ignore
              with e ->
                  failwithf "Failed to install packages. Error is %s" e.Message
          }
  
          "test" => action {
              do! need[TestsAssembly]
              do! system (useClr >> checkErrorLevel) "packages/NUnit.Runners/tools/nunit-console.exe" [TestsAssembly] |> Action.Ignore
          }
  
          ("bin/FSharp.Core.dll") *> fun outfile ->
  