G
Gisle Vanem
I'm trying to understand the search algorithm done when the CLR (?) is
looking for DLLs. At first I've put the DLL(s) in the cache by "gacutil -i foo.dll"
and the program using foo.dll works fine.
But then I became aware of "program.exe.config" could also define a path to
foo.dll {*]. So in real-life, which .dll is the CLR trying to use? Is there some
tools like depends or cygcheck, but for .net programs somewhere?
{*] something like:
<configuration xmlns:asm="urn:schemas-microsoft-com:asm.v1">
<runtime>
<asm:assemblyBinding>
<asm:dependentAssembly>
<asm:assemblyIdentity name="foo"
publicKeyToken="013643f01f384224" />
<asm:codeBase version="1.2.0.0"
href="file://g:/mingw32/src/inet/foo.dll" />
</asm:dependentAssembly>
--gv
looking for DLLs. At first I've put the DLL(s) in the cache by "gacutil -i foo.dll"
and the program using foo.dll works fine.
But then I became aware of "program.exe.config" could also define a path to
foo.dll {*]. So in real-life, which .dll is the CLR trying to use? Is there some
tools like depends or cygcheck, but for .net programs somewhere?
{*] something like:
<configuration xmlns:asm="urn:schemas-microsoft-com:asm.v1">
<runtime>
<asm:assemblyBinding>
<asm:dependentAssembly>
<asm:assemblyIdentity name="foo"
publicKeyToken="013643f01f384224" />
<asm:codeBase version="1.2.0.0"
href="file://g:/mingw32/src/inet/foo.dll" />
</asm:dependentAssembly>
--gv