I wrote a blog post about this a while ago
http://geekswithblogs.net/gyoung/arc.../27/76533.aspx
Note I was referring to inmemory references .. but disk based ones work the
same way (in fact my in memory ones were being written to disk behind the
scenes anyways (see update at bottom of post)).
Cheers,
Greg Young
MVP - C#
"Scythen" <el*********@hotmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
I'm using the CSharpCodeProvider and I would like to compile one .cs
file and then compile another cs file that references the first one.
I know how to add registered assemblies to the compilerParameters but
will that work for things that I compile?
If so, how do I specify the compiled object in the ReferencedAssemblies
list?