Question regarding AppDomains.

E

Evan Camilleri

I am creating an DLL dynamically. Sometime or another this DLL must be
recompiled and thus a new version must be uploaded.

I was told that to do this I have to load the assembly in a seperate domain.

The issue is that I do not know at design time what is in the dynamic DLL.
I need to create an instance of the class in that DLL, and get the methods
in that DLL (for which I know the names). Working with Activator class was
simple.... with AppDomains it is more complicated.

So what should I do? How can I load the instance and most important get
reference to a particular method in that instance.


Evan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top