anchor.diff:  open FsToml.ProjectSystem
   open Microsoft.FSharp.Compiler.SourceCodeServices
   
  +let getName project =
  +    project.AssemblyName +
  +        match project.OutputType with
  +        | OutputType.Library -> ".dll"
  +        | _ -> ".exe"
  +
  +
   module Configuration =
       open System.IO
   
  -
  +    let getOutputPath cfg name =
  +         defaultArg (cfg.OutputPath |> Option.map (fun p -> Path.Combine(p,name))) (Path.Combine("bin", name))
   
       let getCompilerParams (target : Target.Target) (name : string) (cfg : Configuration) =
   
  
positive.code:         @"\Reference Assemblies\Microsoft\Framework\.NETFramework\" + ver + "\\Facades\\"
          |> Directory.GetFiles
  
          // let res =
          //     let a = Assembly.LoadFile path
          //     a.GetReferencedAssemblies()
          //     |> Array.map (fun an -> an.Name |> sysLib ver)
          //     |> Array.filter((<>) "")
  
          // if res.Length > 0 && res |> Array.forall (fun n -> lst |> Array.contains n ) then lst
          // else
          //     let l = Array.append res lst |> Array.distinct
          //     res |> Array.collect (getDependentReferences ver l)
  
      let getPathToReference (target : Target.Target) (reference : Reference) : string[] =
          let ver = target.FrameworkVersion.ToString()
  
  
negative.code:                 yield "-r:" + r
          |]
  
  module ProjectReferences =
      open System.IO
  
      let getTomlReference (target : Target.Target) (reference : ProjectReference) =
          let path = reference.Include |> Path.GetFullPath
          let proj = FsToml.Parser.parse path
          let config = proj.Configurations |> Target.getConfig target
          let name = getName proj
          Configuration.getOutputPath config name
  
      let getFsprojReference (target : Target.Target) (reference : ProjectReference) =
          let path = reference.Include |> Path.GetFullPath
          ""
  
      let getCompilerParams target (references : ProjectReference[]) =
          references |> Array.map (fun r -> "-r:" + if r.Include.EndsWith ".fstoml" then getTomlReference target r else getFsprojReference target r)
  
  
  
  
  module Files =
      let getCompilerParams (files : SourceFile[]) =
          files
  