What's a good tool to analyse assembly dependency in .NET application
Solution 1
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.
Solution 2
I once used Dependeny Walker, specifically for .NET is the Assembly Depenency Analyser
Solution 3
I would look at using the Dot Net Reflector:
http://en.wikipedia.org/wiki/.NET_Reflector
Or Dot Peek from jet brains:
http://www.jetbrains.com/decompiler/
Related videos on Youtube
Pingpong
Updated on June 04, 2022Comments
-
Pingpong almost 2 years
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.
-
Pingpong over 12 yearsThank you for your advice. 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.