How do I enable assembly bind failure logging in .NET.

  1. Start the Fusion Log Viewer - The utility will be available in the Microsoft SDKs folder: "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\FUSLOGVW.exe".
  2. Click Settings
  3. Click "Delete all" to clear the list of any previous bind failures
  4. Check the Enable custom log path checkbox
  5. Enter the location you want the logs to get written to, for example, c:\Logs (Important: make sure that you have actually created this folder in the file system.)
  6. Make sure that the right level of logging is on (I sometimes simply select the Log all binds to disk just to make sure that the things are working correctly)
  7. In the utility, click Refresh. You should then see the bind failure logged in the list.
  8. Click OK
  9. Set the log location option to the Custom
  10. Remember to turn off logging off once you're done!