Hi!
Assembly.GetReferencedAssemblies will return you an array of AssemblyName.
Use the CodeBase property of AssemblyName to get the path to the assembly in
question.
Ofcourse, if Configuration Policies are in place and they redirect calls to
a different assembly, then you wont get the redirected-to-assembly name.
--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/
"Leo Pedeglorio" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Everyone!
>
> How can I get the source path of referenced assembly?
>
> Source path - it is where the reference assembly or dll will be searched
> when the solution is being rebuild.
> You can see it when you right click a referenced assembly under a project
> and select properties from the
> context menu. From the properties window, there you will see the source
> path.
> But I want to get it inside my code. But how?
>
> Thanks a lot!
>
>
>