I read a bit more about the qualifyAssembly element and it's impact on my
problem. I think it will work but I still have this question before using
this method:
Before going to the GAC, this assembly was in the local directory of my EXE.
When I compiled my EXE, I assume the information about this assembly went in
the manifest of my EXE with only partial name information. It's only then I
decided to put my assembly in the GAC giving it a strong name.
Is it because I didn't recompiled my EXE while my dll was in the GAC that
the problem occured? Is the full name information of my assembly stored in
the manifest of my EXE because it's now in the GAC and it can find it more
easily?
And finally, which method is invoked in the EXE to load my assembly when
a) my EXE is built while my assembly is referneced in the same directory
with no strong name?
b) my EXE is built while my assembly is referenced in the GAC?
Is it the same method but the manifest gives partial or full name information?
Thank's for the info.
[quoted text, click to view] "Ice" wrote:
> the remoting infrastructure on the client doesn't look in the GAC. to use
> the GAC you have to the qualify the assembly. look at the qualifyAssembly
> element.
> "Luc" <Luc@discussions.microsoft.com> wrote in message
> news:060556DB-7CB5-4177-BE36-4C25C9D7222F@microsoft.com...
> > I have this particular problem. I am using .NET Remoting. My server (an
> > EXE) listening on a port has a reference (a dll) that is registered in the
> > GAC.
> >
> > While trying to access a class in this reference (DLL) via my client, I
> > receive a remoting error stating that it cannot find the referenced dll.
> > unregistering my dll from the GAC and putting this one in the same
> directory
> > than my EXE causes no problem. Everything works fine. What seems to be
> the
> > problem?
>
>