Hello.

If I have a .dll registered in the GAC and I deploy a web application that
has the same .dll in its "bin" directory, which .dll does the .Net runtime
use?

Thanks in advance,

Mike

Re: Assembly versioning by Mattias

Mattias
Thu Oct 20 10:28:05 CDT 2005

>If I have a .dll registered in the GAC and I deploy a web application that
>has the same .dll in its "bin" directory, which .dll does the .Net runtime
>use?

The runtime will look in the GAC before probing for the assembly. See
the topic "How the Runtime Locates Assemblies" in the docs for
details.


Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.