anchor.diff:  // Targets
   Target "InstallNetCore"
       (fun _ ->
  -        DotNetCli.InstallDotNetSDK DotNetVersion
  -        |> tracefn "Installed .NET Core SDK version %s in %s" DotNetVersion)
  +        dotNetTools <- DotNetCli.InstallDotNetSDK DotNetVersion)
   
  -Target "Clean" (fun _ -> DotNetCli.RunCommand id "clean")
  +Target "Clean" (fun _ -> DotNetCli.RunCommand (fun p -> {p with ToolPath = dotNetTools}) "clean")
   
   Target "CleanBuildOutput" (fun _ -> DeleteDir BuildDir)
   
   Target "AssemblyInfo" (fun _ -> CreateFSharpAssemblyInfo "AssemblyVersionInfo.fs" attributes)
   
  -Target "Restore" (fun _ -> DotNetCli.Restore id)
  +Target "Restore" (fun _ -> DotNetCli.Restore (fun p -> {p with ToolPath = dotNetTools}))
   
  -Target "Build" (fun _ -> DotNetCli.Build (fun p -> {p with Configuration = "Release"}))
  +Target "Build" (fun _ -> DotNetCli.Build (fun p -> {p with ToolPath = dotNetTools; Configuration = "Release"}))
   
   Target "Pack" (fun _ -> codeProjects |> Seq.iter (packFunc >> DotNetCli.Pack))
   
   Target "Test" (fun _ -> testAssemblies |> Expecto.Expecto (fun p -> {p with FailOnFocusedTests = isAppVeyorBuild}))
  -
  -Target "CheckPendingChanges"
  -    (fun _ ->
  -        if not <| Git.Information.isCleanWorkingCopy currentDirectory then
  -            failwith "Repository is not clean."
  -        else
  -            tracefn "Repository is clean.")
   
   Target "PushToNuGet" (fun _ -> Paket.Push (pushFunc "https://api.nuget.org/v3/index.json" "nuget_key"))
   
  
positive.code: 
  [<Literal>]
  let DotNetVersion = "2.0.0-preview1-005977"
  
  let isDotNetInstalled = DotNetCli.getVersion() = DotNetVersion
  
  
negative.code:         Project = proj
          Configuration = "Release"
          OutputPath = ".." </> Directory.GetCurrentDirectory() @@ BuildDir
          ToolPath = dotNetTools
          AdditionalArgs =
              [
                  "--no-build"
  