anchor.diff:              yield "-r:" + ref]
      else
          let isAssemblyPortable path =
  -           let assembly = Assembly.ReflectionOnlyLoadFrom path
              try
  -               assembly.GetCustomAttributes(true)
  -               |> Seq.tryFind (fun a -> 
  -                      match a with
  -                      | :? TargetFrameworkAttribute as attr -> 
  -                           let fn = new FrameworkName(attr.FrameworkName)
  -                           not (fn.Profile = "")             
  -                      | _ -> false)
  -               |> Option.isSome
  +               let assembly = Assembly.ReflectionOnlyLoadFrom path
  +               assembly.GetReferencedAssemblies()
  +               |> Seq.exists (fun a -> a.Name = "System.Runtime")
              with
  -           | :? IOException -> true
              | _e -> false
                           
          let needsFacades () = 
  
positive.code: open MonoDevelop.Ide
  open MonoDevelop.Core.Assemblies
  open MonoDevelop.Core
  
  open Microsoft.FSharp.Compiler.SourceCodeServices
  
  // --------------------------------------------------------------------------------------
  
negative.code:               if isNull reference.Package then
                    tryGetFromHintPath()
                else 
                    reference.Package.Assemblies
                    |> Seq.tryFind (fun a -> a.FullName = reference.Include)
                    |> Option.map (fun a -> a.Location)
            | ReferenceType.Project -> 
                let referencedProject = reference.Project :?> DotNetProject
                referencedProject.GetReferencedAssemblyProjects (getCurrentConfigurationOrDefault referencedProject)
  