anchor.diff:        
     CreateFSharpAssemblyInfo "src/FSharpVSPowerTools.Logic.VS2015/AssemblyInfo.fs"
         (Attribute.InternalsVisibleTo "FSharpVSPowerTools.Tests" :: Attribute.Title "FSharpVSPowerTools.Logic.VS2015" :: shared) 
  +)
  +
  +Target "VsixManifest" (fun _ ->
  +    let manifest = "./src/FSharpVSPowerTools/source.extension.vsixmanifest"
  +    let doc = new XmlDocument() in
  +    doc.Load manifest
  +    doc.GetElementsByTagName("Identity") 
  +      |> Seq.cast<XmlNode> 
  +      |> Seq.head 
  +      |>(fun node -> printfn "%A" node; node.Attributes.GetNamedItem("Version").Value <- version)
  +    doc.Save manifest
   )
   
   // --------------------------------------------------------------------------------------
  
positive.code: 
  let isAppVeyorBuild = environVar "APPVEYOR" <> null
  let buildVersion = sprintf "%s-a%s" release.NugetVersion (DateTime.UtcNow.ToString "yyMMddHHmm")
  
  Target "BuildVersion" (fun _ ->
      Shell.Exec("appveyor", sprintf "UpdateBuild -Version \"%s\"" buildVersion) |> ignore
  
negative.code: "Clean"
    =?> ("BuildVersion", isAppVeyorBuild)
    ==> "AssemblyInfo"
    ==> "VsixManifest"
    ==> "Build"
    ==> "BuildTests"
    ==> "UnitTests"
  