I have a C# script executor, which execute an arbitary chunk of c#, by wrapping it, and executing it in its own appdomain. To compile it correctly, I need to know what assemblies it needs.
Is it the case that I need to extract the namespaces for the script and iterate through every assembly I can find, to find a match, or is their a simpler way to do it?
Thanks. Bob.