Exemplo n.º 1
0
 public virtual CSharpCompilation CreateCompilation(string assemblyName)
 {
     return(CSharpCompilation.Create(assemblyName, options: new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
            .AddReferences(assemblyCache.GetReferencedAssemblies().Select(a => assemblyCache.GetAssemblyMetadata(a))));
 }