This returns a valid list of referenced assemblies but I need to go deeper. I need to get all the referenced assemblies of the referenced assemblies (excluding GAC assemblies if possible) but I don't have a full path of the referenced assemblies to load their references. How do I recursively get assembly references like this?
AssemblyName referencedAssemblies = Assembly.LoadFile(@"C:\Program Files (x86)\MyTestApplication\test.dll").GetReferencedAssemblies();
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.