From your sample code I understand that you want to pass a proxy object from your main AppDomain (StringHolder
), to the proxy object in the child AppDomain (ReverseFactory
). At the same time you want the two AppDomains to have different base dirs.
One way to achieve this is by installing the assembly to the GAC
. There probably is another way to handle this but, at the moment, it escapes me.