enkelmedia / TheDashboard

Magic dashboard for Umbraco
MIT License
39 stars 42 forks source link

Developer tab error - ReflectionTypeLoadException #17

Closed KirschnerMatt closed 8 years ago

KirschnerMatt commented 8 years ago

Installing this package on Umbraco 7.4.3 will cause rendering issues and an error on the backoffice Developer tab.

The error is thrown in TheDashboard.Data.UmbracoRepository.UmbracoRepository.cs on the method GetNonCoreTypesAssignableFrom.

The error: A first chance exception of type 'System.Reflection.ReflectionTypeLoadException' occurred in mscorlib.dll

Additional information: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

enkelmedia commented 8 years ago

Thanks! We'll have a look at this =D

Question: Is it only on the developer tab or somewhere else as well?

AndyButland commented 8 years ago

I have seen something similar with Umbraco 7.4+ and another package I work on actually. Same thing was reported here. Have sent you a PR that I believe should resolve the issue.

KirschnerMatt commented 8 years ago

Andy's PR seems to have fixed the issue. Thanks, Andy!

https://github.com/enkelmedia/TheDashboard/pull/18

AndyButland commented 8 years ago

Great - thanks for reporting and then updating on the fix.