Evaluating CSharpScript throws a Method not found
<p>I'm having a problem trying to evaluate a CSharpScript. I'm running on dnx46, Microsoft.CodeAnalysis.CSharp 1.2.0-rc. I'm suspecting the problem to lie within conflicts between mscorlib and CoreFx. </p>

<p>Here is one of the code snippets that has failed:</p>

<pre><code>private readonly IApplicationEnvironment _environment;
private readonly ILibraryExporter _exporter;

var references = _exporter.GetAllExports(_environment.ApplicationName).MetadataReferences;
var options = ScriptOptions.Default
            .AddReferences(references.Select(x =&gt; ConvertMetadataReference(x)))
            .AddImports("System.Collections.Generic", "System.Linq");
var result = await CSharpScript.EvaluateAsync("1+1");
</code></pre>

<p>(My ApplicationEnvironment and LibraryExporter is being passed in by dnx at startup, neither of these are null).</p>

<p>Upon trying to run <code>CSharpScript.EvaluateAsync</code>, the following exception is thrown.</p>

<pre><code>Method not found: 'Void Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions..ctor
(Microsoft.CodeAnalysis.OutputKind, Boolean, System.String, System.String, System.String,
System.Collections.Generic.IEnumerable`1&lt;System.String&gt;,
Microsoft.CodeAnalysis.OptimizationLevel, Boolean, Boolean, System.String, System.String, 
System.Collections.Immutable.ImmutableArray`1&lt;Byte&gt;, 
System.Nullable`1&lt;Boolean&gt;, Microsoft.CodeAnalysis.Platform, 
Microsoft.CodeAnalysis.ReportDiagnostic, 
Int32, System.Collections.Generic.IEnumerable`1
&lt;System.Collections.Generic.KeyValuePair`2
&lt;System.String,Microsoft.CodeAnalysis.ReportDiagnostic&gt;&gt;, Boolean, Boolean,
Microsoft.CodeAnalysis.XmlReferenceResolver, 
Microsoft.CodeAnalysis.SourceReferenceResolver, 
Microsoft.CodeAnalysis.MetadataReferenceResolver,
Microsoft.CodeAnalysis.AssemblyIdentityComparer,
Microsoft.CodeAnalysis.StrongNameProvider, Boolean)'
</code></pre>

<p>I <a href="http://hastebin.com/izuwetexob.avrasm" rel="nofollow">dumped the list of references in my ScriptOptions</a>, not sure if that shows anything.</p>

<p>While I'm not truly sure what the issue with my code is, I'm assuming that it has to due with me running this project under dnx46, as I had to override the basic assemblies (System, System.Runtime, etc) in my <a href="http://hastebin.com/kofiwemewi.dos" rel="nofollow">project.json</a>.</p>