lettcConfigB=TcConfigBuilder.CreateNew(legacyReferenceResolver,defaultFSharpBinariesDir,true(* optimize for memory *),projectDir,isInteractive,isInvalidationSupported,defaultCopyFSharpCore=false)
[|// When compiling scripts, for some reason we have always historically put TargetFrameworkDirectory first
// It is unclear why.
[|// When compiling scripts using fsc.exe, for some reason we have always historically put TargetFrameworkDirectory first
// It is unclear why. This is the only place we look at the 'isdifference between ResolutionEnvironment.EditingAndCompilation and ResolutionEnvironment.EditingTime.