anchor.diff:      |> Paket.LockFile.LoadFrom
     deps, lock
   
  -let getDllFilesWithinPackage (paketDependencies: Paket.Dependencies) packageName =
  +let tryFind key (dict: IDictionary<_,_>) =
  +  match dict.TryGetValue(key) with
  +  | true, v -> Some v
  +  | _       -> None
  +
  +let getDllFilesWithinPackage (paketDependencies: Paket.Dependencies) (targetPredicate: _ -> Paket.LibFolder option) packageName =
     
     let installModel =
       let groupName = None
       paketDependencies.GetInstalledPackageModel(groupName, packageName)
  -
  -  // HACK: take first one for now
  -  let references = installModel.ReferenceFileFolders.[0].Files.References
  +  let libFolder = 
  +    targetPredicate installModel.ReferenceFileFolders
  +    (**installModel.ReferenceFileFolders
  +    |> Seq.map (fun f -> f, targetPredicate f)
  +    |> Seq.choose (snd >> id)
  +    |> Seq.tryHead*)
  +  
  +  let references = 
  +    match libFolder with
  +    | None        -> Set.empty
  +    | Some folder -> folder.Files.References
   
     let referenceByAssembly =
       references
  +    |> Seq.filter (fun f -> f.LibName.IsSome)
       |> Seq.map (fun r -> (r.Path |> AssemblyDefinition.ReadAssembly), r)
       |> dict
   
  
positive.code:     referenceByAssembly.Keys
      |> Seq.map (fun a -> a.Name.ToString(), a)
      |> dict
  
    let tryFind key (dict: IDictionary<_,_>) =
      match dict.TryGetValue(key) with
      | true, v -> Some v
      | _       -> None
  
    let graph = AdjacencyGraph<_,_>()
    
  
negative.code: ﻿#load "Scripts/load-project-debug.fsx"
  open System
  open System.Collections.Generic
  open System.IO
  open System.Linq
  