Hi, I'm trying to use your library but I'm facing a problem. So far I've managed to load an assembly (using the method LoadFile), and inspecting the context with Visual Studio I've seen it's loaded correctly. The problem is that I can't access by code that assembly (like, for instance, using context.Domain.GetAssemblies()).
The scenario I'm using your library for is to be able to load external assemblies and instantiating and using classes inside without knowing what exact type are them (but knowing they're subclasses of other classes I know). So, I can't directly call "new MyClass()" because I don't know what MyClass is, but it's inside the assembly. If I'd be able to access the loaded assembly, I could fetch the type and do something like Type.GetConstructor().
Is there any way to access the Assembly objects loaded in the context?
Thanks.
Hi, I'm trying to use your library but I'm facing a problem. So far I've managed to load an assembly (using the method LoadFile), and inspecting the context with Visual Studio I've seen it's loaded correctly. The problem is that I can't access by code that assembly (like, for instance, using context.Domain.GetAssemblies()).
The scenario I'm using your library for is to be able to load external assemblies and instantiating and using classes inside without knowing what exact type are them (but knowing they're subclasses of other classes I know). So, I can't directly call "new MyClass()" because I don't know what MyClass is, but it's inside the assembly. If I'd be able to access the loaded assembly, I could fetch the type and do something like Type.GetConstructor().
Is there any way to access the Assembly objects loaded in the context?
Thanks.