anchor.diff:  
       let depLines =
         input.DependentScripts
  -      |> Seq.map (fun script -> sprintf """#load "%s" """ script.Name)
  -
  -    let framworkRefLines =
  +      |> List.map (fun fi -> fi.Name)
  +      |> List.map (sprintf """#load "%s" """)
  +
  +    let frameworkRefLines =
         input.FrameworkReferences
  -      |> Seq.map (sprintf """#r "%s" """)
  +      |> List.map (sprintf """#r "%s" """)
   
       let dllLines =
         input.OrderedRelativeDllReferences
  -      |> Seq.map (sprintf """#r "%s" """)
  -
  -    let lines = Seq.concat [depLines; framworkRefLines; dllLines]
  -
  -    if Seq.isEmpty lines 
  -    then Seq.empty // only write the status if we actually did anything
  -    else Seq.append lines [ sprintf "System.Console.WriteLine(\"Loaded {0}\", \"%s\");" packageName ]
  +      |> List.map (sprintf """#r "%s" """)
  +
  +    let lines = List.concat [depLines; frameworkRefLines; dllLines]
  +
  +    match lines with
  +    | [] -> DoNotGenerate
  +    | xs -> List.append xs [ sprintf "System.Console.WriteLine(\"Loaded {0}\", \"%s\");" packageName ] |> Generate
   
     let getIncludeScriptRootFolder (includeScriptsRootFolder: DirectoryInfo) (framework: FrameworkIdentifier) = 
         Path.Combine(includeScriptsRootFolder.FullName, string framework)
  
positive.code: 
      let depLines =
        input.DependentScripts
        |> Seq.map (fun script -> sprintf """#load @"%s" """ script.Name)
  
      let framworkRefLines =
        input.FrameworkReferences
        |> Seq.map (sprintf """#r "%s" """)
  
      let dllLines =
        if packageName.ToLowerInvariant() = "fsharp.core"
        then Seq.empty else input.OrderedRelativeDllReferences
        |> Seq.map (sprintf """#r "%s" """)
  
      let lines = Seq.concat [depLines; framworkRefLines; dllLines]
      
      if Seq.isEmpty lines 
      then Seq.empty // only write the status if we actually did anything
      else Seq.append lines [ sprintf "printfn \"%%s\" \"Loaded %s\"" packageName ]
  
  
    // default implementation of C# include script generator
    let generateCSharpScript (input: ScriptGenInput) =
  
negative.code:       =
        orderedPackages
        |> Seq.fold (fun (knownIncludeScripts: Map<_,_>) (package: PackageResolver.ResolvedPackage) ->
            let scriptFile = getScriptFile groupName package.Name
            let groupName = getGroupNameAsOption groupName
            let dependencies = package.Dependencies |> Seq.map fst' |> Seq.choose knownIncludeScripts.TryFind |> List.ofSeq
            let installModel = dependenciesFile.GetInstalledPackageModel(groupName, package.Name.GetCompareString())
            let dllFiles = getDllsWithinPackage framework installModel |> List.map (makeRelativePath scriptFile)
  
            let scriptInfo = {
              PackageName                  = installModel.PackageName
              Framework                    = framework
              PackagesOrGroupFolder        = packagesOrGroupFolder
              IncludeScriptsRootFolder     = includeScriptsRootFolder
              FrameworkReferences          = getFrameworkReferencesWithinPackage installModel
              OrderedRelativeDllReferences = dllFiles
              DependentScripts             = dependencies
            }
  
            let genResult = scriptGenerator scriptInfo
  
            match genResult with
            | DoNotGenerate -> knownIncludeScripts
            | Generate lines -> 
              scriptFile.Directory.Create()
              File.WriteAllLines (scriptFile.FullName, lines)
              knownIncludeScripts |> Map.add package.Name scriptFile
  