Get all referenced assemblies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mahendra dubey
    New Member
    • Aug 2009
    • 16

    #1

    Get all referenced assemblies

    Hi There
    I want to get all referenced assembly of a Project.While googling I found two way of doing this...
    1)Assembly.GetE ntryAssembly(). GetReferencedAs sembly()
    but problem with that it returns a coolection of type AssemblyName,but I want collection of type Assembly
    2)AppDomain.Cur rentDomain.GetA ssemblies()
    But It returns all assembly where that are referenced in code or not...

    Now I want a list of Assemblies that are referenced only...

    Please Help...
Working...