How to find location of dll from where my application reading that dll

How to find location of dll from where my application reading that dll

am 05.10.2007 05:19:59 von k.nagendra.prasad

Hi ,

I have a few 3rd party DLLs whcih my application requires. These are
all registered in GAC. When I run my application it throws an weired
exception. Exception comes from those dlls. When i spoke to vendor,
He said that a dll is missing because of which i am getting thsi
weired exception.

I created a sample application which uses these dlls, then i tried. I
get a exception with meaningful information.

So i want tto find out fromw which location my application is reading
these dlls?

Re: How to find location of dll from where my application reading that dll

am 05.10.2007 11:47:09 von G Himangi

You can use the Assembly.CodeBase or Assembly.Location properties for that
information.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
---------


wrote in message
news:1191554399.817560.188850@g4g2000hsf.googlegroups.com...
> Hi ,
>
> I have a few 3rd party DLLs whcih my application requires. These are
> all registered in GAC. When I run my application it throws an weired
> exception. Exception comes from those dlls. When i spoke to vendor,
> He said that a dll is missing because of which i am getting thsi
> weired exception.
>
> I created a sample application which uses these dlls, then i tried. I
> get a exception with meaningful information.
>
> So i want tto find out fromw which location my application is reading
> these dlls?
>