Yes I would 

-----Original Message-----
From: "Kristian Hellang" <notifications@github.com>
Sent: ‎6/‎6/‎2013 3:24 PM
To: "scriptcs/scriptcs" <scriptcs@noreply.github.com>
Cc: "Glenn Block" <glenn.block@gmail.com>
Subject: Re: [scriptcs] Removed RestoreCommand and made assemblies load frompackages/root folder (#302)

In src/ScriptCs/CompositionRoot.cs:
>              {
> -                var scriptPath = Path.Combine(Environment.CurrentDirectory, "bin");
> -                if (Directory.Exists(scriptPath)) 
> -                {
> -                    var catalog = new DirectoryCatalog(scriptPath);
> -                    builder.RegisterComposablePartCatalog(catalog);
> -                }
> +                var currentDirectory = Environment.CurrentDirectory;
> +                var assemblies = assemblyResolver.GetAssemblyPaths(currentDirectory);
The AssemblyResolver is used to get assemblies to include in the AggregateCatalog. It's later reused when running a script/REPL for passing assemblies to reference in the ScriptExecutor. Should we cache these assembly names?
—
Reply to this email directly or view it on GitHub.