Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit b037d5a

Browse files
committed
Fixed null exception
1 parent 4ce50d2 commit b037d5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fcs/FSharp.Compiler.Service/service_slim.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ type InteractiveChecker internal (tcConfig, tcGlobals, tcImports, tcInitialState
6060
static member Create(projectOptions: FSharpProjectOptions) =
6161
let tcConfig =
6262
let tcConfigB = TcConfigBuilder.Initial
63+
tcConfigB.legacyReferenceResolver <- SimulatedMSBuildReferenceResolver.SimulatedMSBuildResolver
6364
let sourceFiles = projectOptions.SourceFiles |> Array.toList
6465
let argv = projectOptions.OtherOptions |> Array.toList
6566
let _sourceFiles = ApplyCommandLineArgs(tcConfigB, sourceFiles, argv)

0 commit comments

Comments
 (0)