anchor.diff:                                                              |> patchAssemblyVersion
           File.WriteAllLines(infoFile.FullName, content)
   
  -    // cleanup everything that will be modified
  -    let cproj = XDocument (xproj)
  -
  -    // paket
  -    cproj.Descendants(NsMsBuild + "None").Where(filterPaketReference).Remove()
  -    cproj.Descendants(NsMsBuild + "Import").Where(filterPaketTarget).Remove()
  -    cproj.Descendants(NsMsBuild + "Choose").Where(filterPaket).Remove()
  -
  -    // remove project references
  -    cproj.Descendants(NsMsBuild + "ProjectReference").Remove()
  -    
  -    // remove unknown assembly references
  -    cproj.Descendants(NsMsBuild + "Reference").Where(filterAssemblies project.AssemblyReferences).Remove()
  -
  -    // remove full-build imports
  -    cproj.Descendants(NsMsBuild + "Import").Where(filterProject).Remove()
  -    cproj.Descendants(NsMsBuild + "Import").Where(filterPackage).Remove()
  -    cproj.Descendants(NsMsBuild + "Import").Where(filterFullBuildTargets).Remove()
  -
  -    // remove nuget stuff
  -    cproj.Descendants(NsMsBuild + "Import").Where(filterNuget).Remove()
  -    cproj.Descendants(NsMsBuild + "Target").Where(filterNugetTarget).Remove()
  -    cproj.Descendants(NsMsBuild + "None").Where(filterNugetPackage).Remove();
  -    cproj.Descendants(NsMsBuild + "Content").Where(filterNugetPackage).Remove()
  +    let cproj = cleanupProject xproj project
   
       // set assembly info
       cproj.Descendants(NsMsBuild + "Compile").Where(filterAssemblyInfo)
  
positive.code:     let hasNoChild (xel : XElement) =
          not <| xel.DescendantNodes().Any()
  
      let setOutputPath (xel : XElement) =
  //        let outputDir = sprintf "%s/%s/" MSBUILD_BIN_FOLDER project.Output.toString
          xel.Value <- BIN_FOLDER
  
      let setDocumentation (xel : XElement) =
  
negative.code: 
      let firstItemGroup = cproj.Descendants(NsMsBuild + "ItemGroup").First()
      firstItemGroup.AddBeforeSelf (importFB)
      cproj
  
  let ConvertProjectContent (xproj : XDocument) (project : Project) =
  