anchor.diff:              let loadRefsFileName = "load-references.fsx"
               let actualRefs = generateRefs project
               let refs = 
  -                match tryGetExistingFileRefs project loadRefsFileName with
  -                | None -> actualRefs
  -                | Some existingRefs -> mergeRefs existingRefs actualRefs
  +                let existingRefs = getExistingFileRefs project loadRefsFileName
  +                mergeRefs existingRefs actualRefs
  +
               addFileToActiveProject(project, loadRefsFileName, generateFileContent refs)
               let content = generateLoadScriptContent(project, "load-references.fsx")
               addFileToActiveProject(project, "load-project.fsx", content))
  
positive.code:         let fileUri = Uri file
          // Folders must end in a slash
          let folder =
              if not <| folder.EndsWith (Path.DirectorySeparatorChar.ToString()) then
                  folder + string Path.DirectorySeparatorChar
              else folder
          let folderUri = Uri folder
  
negative.code:     let generateFileContent (refLines: #seq<string>) =
          String.Join(Environment.NewLine, headerComment, String.Join(Environment.NewLine, refLines))
  
      let getExistingFileRefs project fileName = 
          let filePath = getFullFilePathInScriptFolder project fileName  
          if File.Exists filePath then
              File.ReadLines filePath
              |> Seq.filter (fun (line: string) -> line.StartsWith "#r")
              |> Seq.toList
          else []
  
      let mergeRefs existing actual =
          // remove refs which don't actual anymore (they have been removed from the project)
  