anchor.diff:      }) "Git/Git.nuspec"
   )
   
  -Target "Summary" (fun _ ->
  -    let tb = getTfsBuild()
  -    let bi = tb.Build.Information
  -//    let st = bi.AddBuildStep("build step a", "message of build step a", DateTime.UtcNow, BuildStepStatus.Succeeded)
  -//    st.FinishTime <- st.StartTime.AddMinutes 2.
  -//    st.Node.Children.AddBuildMessage("this is s bm", BuildMessageImportance.High, DateTime.UtcNow) |> ignore
  -//
  -//    let stB = bi.AddBuildStep("build step b", "message of build step b", DateTime.UtcNow, BuildStepStatus.Unknown)
  -//    stB.Node.Children.AddBuildMessage("this is another bm for b", BuildMessageImportance.High, DateTime.UtcNow) |> ignore
  -    
  -
  -    if isTfsBuild then
  -        tfsLogger.Save()
  -        
  -
  -//    bi.Save()
  -)
  -
  -
   "Clean"
  -//    =?> ("Tfs", isTfsBuild)
       =?> ("BuildVersion", buildServer = BuildServer.AppVeyor)
       ==> "AssemblyInfo"
  -//    ==> "Build"
  -//    =?> ("SourceLink", isMono = false && hasBuildParam "skipSourceLink" = false)
  -//    ==> "NuGet"
  -    =?> ("Summary", isTfsBuild)
  +    ==> "Build"
  +    =?> ("SourceLink", isMono = false && hasBuildParam "link")
  +    ==> "NuGet"
   
  -RunTargetOrDefault "Summary"+RunTargetOrDefault "NuGet"
positive.code: let versionInfo = sprintf "%s %s %s" versionAssembly dt.IsoDateTime revision
  let buildVersion = if String.IsNullOrEmpty prerelease then versionFile else sprintf "%s-%s" versionFile prerelease
  
  let mutable tfsLogger : MyListener = Unchecked.defaultof<_>()
  if isTfsBuild then
      let tb = getTfsBuild()
      let bi = tb.Build.Information
      listeners.Clear()
      tfsLogger <- MyListener(bi)
      listeners.Add(MyListener(bi))
  
  
  Target "Clean" (fun _ -> !! "**/bin/" ++ "**/obj/" |> CleanDirs)
  
  //Target "Tfs" (fun _ ->
  //    
  //
  //
  //
  ////    logfn "number of build information nodes: %d" bi.Nodes.Length
  //////    for n in tb.Build.Information.Nodes do
  //////        logfn "node id: %d %A" n.Id n
  ////    
  ////    let main = bi.AddSummarySection 1 "a1" "The Main Section" 
  ////    main.AddMessage "this is cool"
  ////    main.AddMessage "this is a number: %d" 7
  ////    main.AddMessage "this is a link to [google](http://google.com/)"
  ////    bi.Save()
  //)
  
  Target "BuildVersion" (fun _ ->
      let args = sprintf "UpdateBuild -Version \"%s\"" buildVersion
  
negative.code: #I "packages/FAKE/tools"
  #r "FakeLib.dll"
  #load "packages/SourceLink.Fake/tools/SourceLink.fsx"
  
  open System
  open System.IO
  open Fake
  open Fake.AssemblyInfoFile
  open SourceLink
  
  let dt = DateTime.UtcNow
  let cfg = getBuildConfig __SOURCE_DIRECTORY__
  