I am using the following code to compile a script and load it into a new AppDomain:
asmName = CSScript.Compile(scriptFile, asms);
mAsmHelper = new AsmHelper(asmName, asmName, true);
I need to be able to specify the app.config file for the new AppDomain because it does not seem to use the one from the .exe.
How can I get the new assembly in the new AppDomain to use a app.config file?
Thanks,
Mark