@@ -2333,8 +2333,8 @@ type TcConfigBuilder =
23332333 isInvalidationSupported = isInvalidationSupported
23342334 copyFSharpCore = defaultCopyFSharpCore
23352335 tryGetMetadataSnapshot = tryGetMetadataSnapshot
2336- includePathAdded = includePathAdded
23372336 useFsiAuxLib = isInteractive
2337+ includePathAdded = includePathAdded
23382338 }
23392339
23402340 member tcConfigB.ResolveSourceFile ( m , nm , pathLoadedFrom ) =
@@ -5148,7 +5148,6 @@ module ScriptPreprocessClosure =
51485148 let getWarningNumber = fun () ( m , s ) -> nowarns <- ( s, m) :: nowarns
51495149 let addReferencedAssemblyByPath = fun () ( m , s ) -> tcConfigB.AddReferencedAssemblyByPath( m, s)
51505150 let addDependencyManagerText = fun () ( packageManagerPrefix , m , s ) -> tcConfigB.AddDependencyManagerText( packageManagerPrefix, m, s)
5151-
51525151 let addLoadedSource = fun () ( m , s ) -> tcConfigB.AddLoadedSource( m, s, pathOfMetaCommandSource)
51535152 try
51545153 ProcessMetaCommandsFromInput ( getWarningNumber, addReferencedAssemblyByPath, addDependencyManagerText, addLoadedSource) ( tcConfigB, inp, pathOfMetaCommandSource, ())
@@ -5234,7 +5233,9 @@ module ScriptPreprocessClosure =
52345233
52355234 let tcConfigResult , noWarns = ApplyMetaCommandsFromInputToTcConfigAndGatherNoWarn ( tcConfig, parsedScriptAst, pathOfMetaCommandSource)
52365235 tcConfig <- tcConfigResult // We accumulate the tcConfig in order to collect assembly references
5237-
5236+
5237+ yield ! resolveDependencyManagerSources filename
5238+
52385239 let postSources = tcConfig.GetAvailableLoadedSources()
52395240 let sources = if preSources.Length < postSources.Length then postSources.[ preSources.Length..] else []
52405241
0 commit comments