In my script, I want to execute a method in a separate AppDomain. How many different ways could be done to achieve this?
In particular, I have the following question:
- Can I load an assembly in AppDomain A and execute its method in AppDomain B?
- I seem to achieve this with the AppDomain.DoCallBack and CrossAppDomainDelegate method . I just canβt understand how it makes sense to have an assembly and a method in different AppDomains. Is the same assmebly loaded again in another AppDomain to execute the method?
source
share