anchor.diff:                  let newProject = project.RemoveDuplicates()
                   newProject.Save())
   
  +/// It removes duplicate content files from the project files.
  +let RemoveDuplicateContentFiles projects =    
  +    projects
  +    |> Seq.iter (fun fileName ->
  +            let project = ProjectFile.FromFile fileName
  +            if not (project.FindDuplicateContentFiles().IsEmpty) then
  +                let newProject = project.RemoveDuplicatesContent()
  +                newProject.Save())
  +
   /// Compares the given projects to the template project and adds all missing files to the projects if needed.
   /// It also removes duplicate files from the project files.
   let FixProjectFiles templateProject projects =
       FixMissingFiles templateProject projects
       RemoveDuplicateFiles projects
  +
  +
  +/// Compares the given projects to the template project and adds all missing content files to the projects if needed.
  +/// It also removes duplicate files from the project files.
  +let FixProjectContentFiles templateProject projects =
  +    FixMissingContentFiles templateProject projects
  +    RemoveDuplicateContentFiles projects
   
   /// Compares the given project files againts the template project and fails if any files are missing.
   /// For F# projects it is also reporting unordered files.
  
positive.code:               UnorderedFiles = unorderedFiles })
      |> Seq.filter (fun pc -> pc.HasErrors)
  
  /// Compares the given projects to the template project and adds all missing files to the projects if needed.
  let FixMissingFiles templateProject projects =
      let addMissing (project:ProjectFile) missingFile = 
  
negative.code:             | true,true  -> ()                              // already seen at least twice
          ]
  
       member x.RemoveDuplicates() =
              x.FindDuplicateFiles()
              |> List.fold (fun (project:ProjectFile) duplicate -> project.RemoveFile duplicate) x
  
  
      /// Finds duplicate files which are in "Content" sections
      member this.FindDuplicateContentFiles() = 
          [let dict = Dictionary()
           for file in this.ContentFiles do
              match dict.TryGetValue file with
              | false,_    -> dict.[file] <- false            // first observance
              | true,false -> dict.[file] <- true; yield file // second observance
              | true,true  -> ()                              // already seen at least twice
          ]
  
      member x.RemoveDuplicatesContent() =
          x.FindDuplicateContentFiles()
          |> List.fold (fun (project:ProjectFile) duplicate -> project.RemoveContentFile duplicate) x
  
      /// The project file name
      member x.ProjectFileName = projectFileName
  