Assembly Load Exception Helper

If you get ReflectionTypeLoadException during loading an assembly to your AppDomain or running an assembly, it will be hard to find which assembly cause the problem from the given standart error.
Generally the exception says something like "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

You must have a look to the LoaderExceptions in the ReflectionTypeLoadException to understand exact problem. That property contains the whole resolution fail exceptions in it. But if you dont have source code of your program or if you can not debug your program then it will be hard for you to access LoaderExceptions during runtime. To solve this problem and take some help, you can use AssemblyLoadLogger, which I developed it for this purposes.

Just run AssemblyLoadLogger.exe, click File/Load Assembly menu and select your assembly which cause the problem. You will see the loading results.

Download Assembly Load Logger

Example of assembly load logger
An example screenshot of the AssemblyLoadLogger

Example of assembly load logger
An other screenshot of the AssemblyLoadLogger

 

Have a good day ...


Search

Calendar

<<  February 2012  >>
MonTueWedThuFriSatSun
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011
View posts in large calendar

Disclaimer

© 2007 - 2011
Ozcan DEGIRMENCI
All rights reserved. The content can be used elsewhere given that the source is properly acknowledged.