D
David Laub
It appears that getting a list of a program's referenced assemblies is a
dynamic/run-time facility.
If I execute GetReferencedAssemblies immediately in a console app, the only
assemblies returned are the app itself and mscorlib
If I (recursively) execute GetReferencedAssemblies after methods in
referenced assemblies have been resolved/executed, then I get a far more
meaningful list
I would really like a method which reflects the "full" static reference list
in the c# project file. Does such a method exist, or is there a good way to
simulate this?
Thanks
David Laub (e-mail address removed)
Assembly.GetExecutingAssembly().GetReferencedAssemblies()
dynamic/run-time facility.
If I execute GetReferencedAssemblies immediately in a console app, the only
assemblies returned are the app itself and mscorlib
If I (recursively) execute GetReferencedAssemblies after methods in
referenced assemblies have been resolved/executed, then I get a far more
meaningful list
I would really like a method which reflects the "full" static reference list
in the c# project file. Does such a method exist, or is there a good way to
simulate this?
Thanks
David Laub (e-mail address removed)
Assembly.GetExecutingAssembly().GetReferencedAssemblies()