Friday, August 7, 2015

Troubleshooting .NET Assembly Loading Errors

If you have ever gotten an error message such as the following:





You may want to know how to diagnose and troubleshoot Assembly Loading errors!

Well, fortunately, this is reasonably easy to accomplish using Fuslogvw.exe (Assembly Binding Log Viewer) as described here: https://msdn.microsoft.com/en-us/library/e74a18c4%28v=vs.110%29.aspx






From a Visual Studio Developer Command Prompt (which you Run As Administrator), you simply type fuslogvw.  This will then load the Dialog you see above to allow you to view Assembly Binding/Assembly Loading errors!

You will then be able to view the Log File for any assemblies which failed to load:


That is all there is to it!

No comments:

Post a Comment