I would like to show a list of all used assemblies on a dedicated web page in an ASP.NET web application for debugging and support purposes (there are many examples of this web application on this server). The assembly can be called from the bin folder or from the GAC. Some of them are written by me, but also third-party assemblies.
Is there a simple, automatic way to get a list of all loaded or referenced assemblers of a web application, including the version number (call System.Reflection.Assembly
- GetName().Version
...)? Do I have to explicitly pass all assembly names to check the version, or can I get them automatically? Should I use Reflection for a complete list of dependencies / links?
source
share