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


i have create objects particular class @ runtime, classes should configured in app settings of web.config file, using reflection.

the problem is, not able load assembly. since classes in referenced dlls. not able actual path of referenced dll. have tried path, codebase, current directory. can me??

if assembly referenced project, don't need load it. can getting type of class in particular assembly.

in general, doing late-binding on own, isn't best of idea. had issues @ our project , it's quite lot of work right. instead use of many different ioc-containers, find assembly , class you.

edit:

i maybe bit confused, didn't think of earlier. can load assembly it's name. should find assembly in referenced paths or gac.

further information can found at msdn


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -