I want to get the path of the assembly that contains the extension that has been loaded by MEF. Is this possible? Here's an example scenario:
I have my Extension Manager, which makes users able to load .dlls with extensions in them. (Copies the specified .dll into my app's directory) When the app is restarted, MEF loads the extensions. Now, my Extension Manager form has a grid with two columns:
the first column is the extension filename (for example TestExtension.dll) and the other is the path of the .dll that MEF loaded. (For example C:\Code\TestExtension.dll) However, I have been unable to find out how to get the System.Reflection.Assembly of the
loaded .dll, and also been unable to get the path in other ways.
Any help would be appreciated.