I have program which loads an assembly using Asssembly.LoadFrom
method. Some time later I attempt to use Type.GetType
to create a type from that assembly (using AssemblyQualifiedName
), but the method returns null
. If I set it to throw exception, it tells
Could not load file or assembly '...' or one of its dependencies. The system cannot find the file specified.
But I am sure the exact same assembly is already loaded (it shows in the AppDomain.CurrentDomain.GetAssemblies()
list).
Anybody has an idea what could be wrong and/or how to solve this issue?
Thanks for help