asked on
AssemblyName[] referencedAssemblies = Assembly.LoadFile(@"C:\Program Files (x86)\MyTestApplication\test.dll").GetReferencedAssemblies();
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?