Tuesday, May 24, 2016

assembly dependency tools

It is a great free assembly dependency tool from Microsoft.

instructions: Enable assembly binding logging set the registry value EnableLog in HKLM\Software\Microsoft\Fusion to 1. Note that you have to restart your application (use iisreset) for the changes to have any effect.
TIP::please run it with administrator privilege .
Tip: Remember to turn off fusion logging when you are done since there is a performance penalty to have it turned on.

  1. Fuslogvw.exe (Assembly Binding Log Viewer)- from Microsoft
  2. Back to Basics: Using Fusion Log Viewer to Debug Obscure Loader Errors
  3. How to enable assembly bind failure logging (Fusion) in .NET

    a great post to enable Fusion log viewer. more details on set-up.

    Add the following values to
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
    Add:
    DWORD ForceLog set value to 1
    DWORD LogFailures set value to 1
    DWORD LogResourceBinds set value to 1
    DWORD EnableLog set value to 1
    String LogPath set value to folder for logs (e.g. C:\FusionLog\)
    Make sure you include the backslash after the folder name and that the Folder exists. You need to restart the program that you're running to force it to read those registry settings

  4. How to enable assembly binding log in exception text windows 7 / Assembly binding Logging - on youtube.com
  5. .NET enable and disable Fusion log to investigate assembly loading issues
  6. How to enable assembly bind failure logging (Fusion) in .NET
  7. .NET Setting up Fusion Logging to figure out Assembly bind failures
  8. Debug Load Errors with the Assembly Binding Log Viewer
  9. .NET dependency walker -commercial tool

The following 1) and 2) are the good combination. 4) can be used for cross reference check.

  1. Project \ Assembly dependencies viewer
  2. Dependency Walker Frequently Asked Questions (FAQ)
  3. Graphviz - Graph Visualization Software
  4. Dependency Walker 2.2 - free ware
  5. Dependency Structure Matrix Add-In For Visual Studio

the following AsmSpy is a good tool to research on.

  1. mikehadlow/AsmSpy
  2. (Tuesday, October 22, 2013) AsmSpy Coloured Output
  3. download AsmSpy directly from this link
  4. Fixing assembly version conflicts in .net with AsmSpy
  5. AsmSpy to the rescue
  6. How dow I know which dependencies are conflicting and how do I remove the conflicting ones?

a reference link from stackoverflow.com:

  1. How do I determine the dependencies of a .NET application?
  2. Depends4Net - Part 1
  3. Depends4Net - Part 2
  4. How to find all dependencies of a .NET project?
  5. ILSpy is the open-source .NET assembly browser and decompiler.
  6. 5 Tools to Check Dependency Files Needed by Application
  7. Back to Basics: When does a .NET Assembly Dependency get loaded
  8. .NET Framework Versions and Dependencies
  9. ILDASMDC—an ILDASM-based DependencyChecker