anchor.diff:                      group.Packages |> List.exists (fun p -> p.Name = settings.Name) ||
                         isDependencyOfAnyOtherDependency settings.Name |> not)
           |> List.sortByDescending (fun (group, settings) -> settings.Name)
  -
  +    
       match refs with
       | [] -> withDepsAndIncluded
       | _ -> 
  
positive.code:           Contents = CompleteInfo(core, { opt with Dependencies = newDeps }) }
      | IncompleteTemplate -> 
          failwith "You should only try to add dependencies to template files with complete metadata."
  
  let toFile config platform (p : ProjectFile) = 
      Path.Combine(Path.GetDirectoryName p.FileName, p.GetOutputDirectory config platform, p.GetAssemblyName())
  
negative.code:                    | None -> failwithf "There was no version given for %s." templateFile.FileName
                 | IncompleteTemplate -> 
                     failwithf "You cannot create a dependency on a template file (%s) with incomplete metadata." templateFile.FileName)
          |> List.fold addDependency templateWithOutputAndExcludes
      
      // If project refs will not be packaged, add the assembly to the package
      let withDepsAndIncluded = 
  