How do I enable assembly bind failure logging in .NET.
This blog explains the steps to enable the assembly bind failure logging.
- 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".
- Click Settings
- Click "Delete all" to clear the list of any previous bind failures
- Check the Enable custom log path checkbox
- 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.)
- 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)
- In the utility, click Refresh. You should then see the bind failure logged in the list.
- Click OK
- Set the log location option to the Custom
- Remember to turn off logging off once you're done!