What's a good tool to analyse assembly dependency in .NET application

Pingpong picture Pingpong · Nov 28, 2011 · Viewed 19.4k times · Source

I know there are many tools. I want to find out a good tool to show me what assembly is missing. I encountered an exception saying that one of the dependency assembly might be missing when I tried to run a .NET app.

UPDATE

I want to test it on live server. Thus, ideally, I can run it without changes to the server. I can install application on the server.

Thanks in advance.

Answer

mcm69 picture mcm69 · Nov 28, 2011

To check for runtime binding errors, one simple and efficient way is to turn on Fusion log (just change HKLM\Software\Microsoft\Fusion\ForceLog to 1 in the registry). This will allow you to check the detailed logs on the error in the Exception.FusionLog property and also examine details via the Assembly Binding Log Viewer.

Scott Hanselman has a good article on the point.