LoadException and Load assembly
- From: Cédric Tallichet <cedric_tallichet@xxxxxxxxxxx>
- Date: Wed, 19 Dec 2007 11:48:47 +0100
Hello,
I try to create an app able to retrieve Types from .net Assemblies.
First case (this one works fine):
My application has "A.dll" referenced at compile time. I add "B.dll" at runtime. I can inspect "B.dll" to get all of its Types. I load it using Assembly.Load nor AppDomain.CurrentDomain.LoadFrom(...).
Using the same method, I'm adding "C.dll" assembly wich refer to "B.dll" (some types in C inherits from some B classes).
I got an exception (System.IO.FileNotFoundException) saying "Unable to laod file or assmebly 'B, Version=0.1.0.0, Culture=neutral, PublicKeyToken=[***]' or one of its dependencies. File not found." (I translated it from the French version I got).
This exception is raised on the Assembly.GetTypes() method.
Does some one could help me?
Kind Regards
Cedric
.
- Prev by Date: RE: link in registry
- Next by Date: SOAP HTTP
- Previous by thread: Host an SOAP - HTTP windows service application Outside of IIS
- Next by thread: SOAP HTTP
- Index(es):