I have an application which takes an argument as the path of some assembly(exe/dll).
I need to recursively load all referenced assemblies.
I tried to use assembly.GetReferencedAssemblies()
method, but it gives only assembly names, not physical paths(Assembly.LoadFrom(path)
) (by using assembly name assembly.Load()
method doesn't find assembly to load).
How can I proceed this using C# ?