Saturday, 10 August 2013

How to get the actual path of a referenced .dll file from the current working assembly?

How to get the actual path of a referenced .dll file from the current
working assembly?

I have to create objects for a particular class at runtime, the classes
should be configured in the app settings of the web.config file, using
Reflection.
The problem is, I am not able the Load the assembly. Since the classes are
in the referenced dlls. I am not able to get the actual path of the
referenced dll. I Have tried Path, CodeBase, Current Directory. Can
someone help me??

No comments:

Post a Comment