anchor.diff:      |> CopyFiles "..\..\LocalPackages")
   
   Target "BuildPackage" DoNothing
  +
  +FinalTarget "PublishTestsResultsToAppveyor" (fun _ ->
  +    UploadTestResultsXml TestResultsType.Xunit "TestOutput")
   
   // --------------------------------------------------------------------------------------
   // Run all targets by default. Invoke 'build <Target>' to override
  
positive.code: Target "RunTests" (fun _ ->
      !!("UnitTests.sln") |> MSBuildRelease "" "Rebuild" |> ignore
      FileHelper.CreateDir "TestOutput"
      !!(testAssemblies) |> xUnit (fun args -> { args with XmlOutputPath = Some "TestOutput/xml" })
      if buildServer = AppVeyor then UploadTestResultsXml TestResultsType.Xunit "TestOutput")
  
  // --------------------------------------------------------------------------------------
  // Build a NuGet package
  
negative.code: "ReleaseDocs"
    ==> "Release"
  
  ActivateFinalTarget "PublishTestsResultsToAppveyor"
  RunTargetOrDefault "RunTests"
  