anchor.diff:              if not(workspaceFiles.Contains(file)) then
                   projectContext.AddSourceFile(file)
                   updated <- true
  +        
           for file in workspaceFiles do
               if not(updatedFiles.Contains(file)) then
                   projectContext.RemoveSourceFile(file)
                   updated <- true
           
  -        let updatedRefs = site.AssemblyReferences() |> hashSetIgnoreCase
  -        let workspaceRefs = project.GetCurrentMetadataReferences() |> Seq.map(fun ref -> ref.FilePath) |> hashSetIgnoreCase
  +        let updatedRefs = site.AssemblyReferences() |> wellFormedFilePathSetIgnoreCase
  +        let workspaceRefs = project.GetCurrentMetadataReferences() |> Seq.map (fun ref -> ref.FilePath) |> wellFormedFilePathSetIgnoreCase
   
           for ref in updatedRefs do
               if not(workspaceRefs.Contains(ref)) then
                   projectContext.AddMetadataReference(ref, MetadataReferenceProperties.Assembly)
  +        
           for ref in workspaceRefs do
               if not(updatedRefs.Contains(ref)) then
                   projectContext.RemoveMetadataReference(ref)
  
positive.code:         
      /// Sync the information for the project 
      member this.SyncProject(project: AbstractProject, projectContext: IWorkspaceProjectContext, site: IProjectSite, workspace, forceUpdate) =
          let hashSetIgnoreCase x = new HashSet<string>(x, StringComparer.OrdinalIgnoreCase)
          let updatedFiles = site.SourceFilesOnDisk() |> hashSetIgnoreCase
          let workspaceFiles = project.GetCurrentDocuments() |> Seq.map(fun file -> file.FilePath) |> hashSetIgnoreCase
          
          let mutable updated = forceUpdate
  
  
negative.code:             project.Disconnect()
          | _ -> ()
  
      let invalidPathChars = set (Path.GetInvalidPathChars())
      let isPathWellFormed (path: string) = not (String.IsNullOrWhiteSpace path) && path |> Seq.forall (fun c -> not (Set.contains c invalidPathChars))
  
      override this.Initialize() =
          base.Initialize()
  
  