Monthly Archives: October 2011

ReflectionTypeLoadException: FileNotFoundException

As a follow-up from my previous post on ReflectionTypeLoadException, one of the LoaderExceptions I saw was FileNotFoundException because the project has reference to assemblies which themselves have reference to other assemblies. Despite the referenced being marked as “Copy Local” True, … Continue reading

Posted in Computers and Internet, Microsoft, Ordinateurs et Internet, Travail, work | Leave a comment

Debug OData “Unable to load one or more of the requested types” / failure to load types

Found at http://connect.microsoft.com/VisualStudio/feedback/details/541962/unable-to-load-one-or-more-of-the-requested-types-connected-with-entitydatasource in the mist of the discussion, adding this code to the application allows to see the details of the exception: foreach (var asm in AppDomain.CurrentDomain.GetAssemblies()) { asm.GetTypes(); } This is quite useful because otherwise you get the … Continue reading

Posted in Computers and Internet, Microsoft, Ordinateurs et Internet, Travail, work | Leave a comment