If I use Assembly.LoadFi le("name.dll") and then I want to create instace of
class inside the assembly using reflection Type.GetType("c lass.name")
doesn't work unless I do
Assembly asm = Assembly.LoadFi le("name.dll") ;
Type t = asm.GetType("cl ass.name");
Is there a way to expose the new Assembly globally dynamically so I can use
the standard Type.GetType()? I don't want to keep track of which assembly I
loaded and where each class is store. In my code, I only know at runtime how
many new assemblies I have to load
Tks.
class inside the assembly using reflection Type.GetType("c lass.name")
doesn't work unless I do
Assembly asm = Assembly.LoadFi le("name.dll") ;
Type t = asm.GetType("cl ass.name");
Is there a way to expose the new Assembly globally dynamically so I can use
the standard Type.GetType()? I don't want to keep track of which assembly I
loaded and where each class is store. In my code, I only know at runtime how
many new assemblies I have to load
Tks.
Comment