If the base directory of your new domain is not a sub-directory of the
existing domain then you will have problems with this code "as is", but it
should give you the pointers you need [no pun]. The problem with this is
that the loader class needs to be accessible from both assemblies, and it
also has the issue that is a 'dll' is located in both the main directory and
the sub-directory then the main one will load first (yeah, should not
happen, but I have seen users drag copies of old files all over the place).
Did'nt see you post until now - but if you are still getting stuck continue
the thread as I will put a watch point against it.
Not an expert by no means, but ...
- Colin.
"JonS." <(E-Mail Removed)> wrote in message
news:B11CC66A-AEF4-4759-83D0-(E-Mail Removed)...
> I've found the answer to this, and most other dynamic loading and
unloading
> problems at the following location:
>
> http://www.codeproject.com/csharp/Dy...sp#xx1025463xx
>
> I know I'm not the only one who would have these problems, which is why
I'm
> so surprised to find so little information on it. Anyways, please let me
> know if there are any further questions.
>
> Sincerely,
>
> Jon
>
> "JonS." wrote:
>
> > Hi,
> >
> > I posted this article (
> >
http://msdn.microsoft.com/newsgroups...aea&sloc=en-us
> > ) last week, and have yet to receive any replies. If someone could
please
> > give me further information I would greatly appreciate it.
> >
> > Sincerely,
> >
> > Jon