anchor.diff:          |> Option.ofNull
           |> Option.bind (fun scriptItem -> Option.ofNull scriptItem.ProjectItems)
           |> Option.map (fun projectItems -> 
  -            seq {
  -                for i in 0..projectItems.Count-1 ->
  -                    projectItems.Item(i + 1)
  -            }
  +            projectItems
  +            |> Seq.cast<ProjectItem>
               |> Seq.exists (fun item -> item.Name.Contains("load-references")))
           |> Option.getOrElse false
   
  
positive.code:         let sourceProject = reference.GetType().GetProperty("SourceProject")
          sourceProject <> null && sourceProject.GetValue(reference) <> null
  
      let generateFileContent(project: Project) =
          let excludingList = set [| "FSharp.Core"; "mscorlib" |]
          let assemblyRefList = ResizeArray()
          let projectRefList = ResizeArray()
  
          match project.Object with
          | :? VSProject as vsProject ->
              vsProject.References
              |> Seq.cast<Reference>
              |> Seq.iter (fun reference -> 
                  if not (excludingList.Contains reference.Name) then
                      if isReferenceProject reference then
                          let scriptFolder = Path.Combine(getProjectFolder project, scriptFolderName)
                          getActiveOutputFileFullPath reference
                          |> Option.iter (getRelativePath scriptFolder >> projectRefList.Add)
                      else
                          let fullPath = reference.Path
                          if File.Exists fullPath then
                              assemblyRefList.Add(fullPath))
          | _ -> ()
  
          let assemblyRefList = assemblyRefList |> Seq.map (sprintf "#r @\"%s\"") |> Seq.toList
  
negative.code:                 generateFile project)        
  
      do dte2.Events.BuildEvents.add_OnBuildDone (fun _ _ ->
              dte2.Solution.Projects
              |> Seq.cast<Project>
              |> Seq.iter (fun project ->
                  if isFSharpProject project && containsReferenceScript project then
                      generateFile project))
  