We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd6169 commit 53dac83Copy full SHA for 53dac83
src/fsharp/build.fs
@@ -1576,10 +1576,8 @@ let GetFSharpCoreReferenceUsedByCompiler(useMonoResolution) =
1576
match foundReference with
1577
| Some fsharpCore -> fsharpCore
1578
| None ->
1579
- typeof<TypeInThisAssembly>.Assembly.GetReferencedAssemblies()
1580
- |> Array.pick (fun name ->
1581
- if name.Name = fsCoreName then Some(name.ToString())
1582
- else None)
+ // FSharp.Compiler.Service for F# 4.0 defaults to FSharp.Core 4.4.0.0 if no FSharp.Core is referenced statically by the host process.
+ "FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
1583
1584
let GetFsiLibraryName () = "FSharp.Compiler.Interactive.Settings"
1585
#endif
0 commit comments