foofoo.dll


You know when we probe an assembly foo, we first probe the appbase for foo.dll/exe, then appbase\foo\foo.dll/exe.


The reason we probe for appbase\foo\foo.dll, is for multi-module assembiles.


Say you have assemblies foo1 and foo2. Both have a module called bar.dll. You can’t put foo1 and foo2 in the same directory, since their module bar.dll will overwrite each other.


But you can put them in appbase\foo1, and appbase\foo2, problem solved.

Comments (5)

  1. Daniel Moth says:

    This is one of those things that I have always wondered about but never enough to try and find out. Thanks for sharing!

  2. junfeng says:

    Daniel,

    You get other things?

  3. RichB says:

    Have you ever been aware of that happening?

  4. junfeng says:

    Be aware of what? foo1 and foo2 with the same module bar.dll?

    No I did not see that. But again, I never know how people use this technology.