S
Steve Long
Hello,
I've got an app that supports plugins. It's an exe and both it and any
plugin must implement iPlugin to enable communication between the exe and
the .dll plugin. My problem is that I need to get a type from the exe from
within the plugin but if I call [Assembly].GetCallingAssembly in the
plugin's constructor, the returned assembly's name is mscorlib rather than
the exe that new'ed it. How can I get the assembly of the exe in this case?
Any help is much appreciated
Steve
I've got an app that supports plugins. It's an exe and both it and any
plugin must implement iPlugin to enable communication between the exe and
the .dll plugin. My problem is that I need to get a type from the exe from
within the plugin but if I call [Assembly].GetCallingAssembly in the
plugin's constructor, the returned assembly's name is mscorlib rather than
the exe that new'ed it. How can I get the assembly of the exe in this case?
Any help is much appreciated
Steve