This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackoverflow.com/questions/4667078/how-to-retrieve-the-loaderexception-property | |
try | |
{ | |
foreach (var asm in AppDomain.CurrentDomain.GetAssemblies()) | |
{ | |
asm.GetTypes(); | |
} | |
} | |
catch (Exception ex) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-04-17 12:15:00,462 [1] ERROR EPiServer.Find.Commerce.FindCommerceInitializationModule: Could not apply catalog content conventions. | |
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. | |
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) | |
at System.Reflection.RuntimeModule.GetTypes() | |
at System.Reflection.Assembly.GetTypes() | |
at EPiServer.Find.ClientConventions.NestedConventions.<>c__DisplayClass17_0.<MarkAllImplementationsAsNested>b__1(Assembly a) | |
at EPiServer.Find.Helpers.ListExtensions.ForEach[T](IEnumerable`1 value, Action`1 action) | |
at EPiServer.Find.ClientConventions.NestedConventions.MarkAllImplementationsAsNested(Type declaringType, String name) | |
at EPiServer.Find.ClientConventions.NestedConventions.ForInstancesOf[TSource,TListItem](Expression`1 exp) | |
at EPiServer.Find.ClientConventions.NestedConventionItemInstanceWrapper`1.Add[TListItem](Expression`1 expr) |