roryprimrose/Headless

Dynamic type detection throws ReflectionTypeLoadException when dependent assemblies not available

Closed this issue · 0 comments

The code attempts to load all the types from all assemblies in the application domain. A ReflectionTypeLoadException is thrown when one of those assemblies has an assembly reference that is not available.

See http://stackoverflow.com/questions/7889228/how-to-prevent-reflectiontypeloadexception-when-calling-assembly-gettypes for the workaround