anchor.diff:          yield "--flaterrors"
           yield "--target:library"
   #if !NETFX
  -        yield "--targetprofile:netcore"
  +        yield "--targetprofile:netstandard"
   #endif
       |]
   
  
positive.code: 
          let otherOptions =
              let coreRefs = HashSet Standalone.Metadata.references_core
              let ignoredRefs = HashSet [
                 "WindowsBase"
                 "Microsoft.Win32.Primitives"
  
negative.code:         ||> Seq.fold (fun (dllRefs, srcFiles) line ->
              match line.Trim() with
              // TODO: Check nuget references
              | Regex @"^#r\s*""(.*?)""$" [_;path] ->
                  path::dllRefs, srcFiles
              | Regex @"^#load\s*""(.*?)""$" [_;path] ->
                  dllRefs, path::srcFiles
              | _ -> dllRefs, srcFiles)
  
      let coreDllDir = IO.Path.GetDirectoryName(typeof<System.Array>.Assembly.Location) |> Path.normalizePath
      let fsharpCoreDll = typeof<obj list>.Assembly.Location |> Path.normalizePath
  
      let coreDlls =
          Standalone.Metadata.references_core
          |> Array.filter (function
              | "FSharp.Core" | "Fable.Core" -> false
              | _ -> true)
          |> Array.append [|"System.Private.CoreLib"|]
          |> Array.map (fun dll -> IO.Path.Combine(coreDllDir, dll + ".dll"))
  
      let dllRefs =
          [
              yield! coreDlls
              yield fsharpCoreDll
              yield! List.rev dllRefs
          ]
          |> List.map (fun dllRef ->
              let dllRef = IO.Path.Combine(projectDir, dllRef) |> Path.normalizeFullPath
              getDllName dllRef, dllRef)
  