Skip to content

Commit 53dac83

Browse files
committed
fix 383
1 parent abd6169 commit 53dac83

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/fsharp/build.fs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,10 +1576,8 @@ let GetFSharpCoreReferenceUsedByCompiler(useMonoResolution) =
15761576
match foundReference with
15771577
| Some fsharpCore -> fsharpCore
15781578
| None ->
1579-
typeof<TypeInThisAssembly>.Assembly.GetReferencedAssemblies()
1580-
|> Array.pick (fun name ->
1581-
if name.Name = fsCoreName then Some(name.ToString())
1582-
else None)
1579+
// 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.
1580+
"FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
15831581

15841582
let GetFsiLibraryName () = "FSharp.Compiler.Interactive.Settings"
15851583
#endif

0 commit comments

Comments
 (0)