anchor.diff:              // during compilation. So we recover the CompilationThreadToken here.
               let ctok = AssumeCompilationThreadWithoutEvidence ()
               ResolveAssembly (ctok, rangeStdin, tcConfigB, tcImports, fsiDynamicCompiler, fsiConsoleOutput, args.Name))
  -        
  +
           AppDomain.CurrentDomain.add_AssemblyResolve(handler)
   
           { new System.IDisposable  with 
                member x.Dispose() = AppDomain.CurrentDomain.remove_AssemblyResolve(handler) }
  -#endif
   
   //----------------------------------------------------------------------------
   // Reading stdin 
  
positive.code: 
      let Install(tcConfigB, tcImports: TcImports, fsiDynamicCompiler: FsiDynamicCompiler, fsiConsoleOutput: FsiConsoleOutput) = 
  
  #if NETSTANDARD
          ignore tcConfigB
          ignore tcImports
          ignore fsiDynamicCompiler
          ignore fsiConsoleOutput
          { new System.IDisposable with 
               member x.Dispose() = () }
  #else
          let ResolveAssembly (ctok, m, tcConfigB, tcImports: TcImports, fsiDynamicCompiler: FsiDynamicCompiler, fsiConsoleOutput: FsiConsoleOutput, fullAssemName:string) = 
  
             try 
                 // Grab the name of the assembly
                 let tcConfig = TcConfig.Create(tcConfigB,validate=false)
                 let simpleAssemName = fullAssemName.Split([| ',' |]).[0]          
                 if !progress then fsiConsoleOutput.uprintfn "ATTEMPT MAGIC LOAD ON ASSEMBLY, simpleAssemName = %s" simpleAssemName // "Attempting to load a dynamically required assembly in response to an AssemblyResolve event by using known static assembly references..." 
                 
                 // Special case: Mono Windows Forms attempts to load an assembly called something like "Windows.Forms.resources"
                 // We can't resolve this, so don't try.
                 // REVIEW: Suggest 4481, delete this special case.
  
negative.code:                        assemblyLoadFrom assemblyName
                     | Choice2Of2 assembly -> 
                         assembly
  
             with e ->
                 stopProcessingRecovery e range0
                 null
  
  