Method 'TriggerFired' in type 'CrystalQuartz.Core.Quartz2.Quartz2SchedulerEventSource' from assembly 'CrystalQuartz.AspNetCore, #79
Open
Description
Unable to load one or more of the requested types.
Method 'TriggerFired' in type 'CrystalQuartz.Core.Quartz2.Quartz2SchedulerEventSource' from assembly 'CrystalQuartz.AspNetCore, Version=6.8.1.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
public static Type[] GetAllTypes(this AppDomain @this, bool fromCache = true)
{
if (fromCache && (typeCache == null || !typeCache.Any()) || !fromCache)
{
typeCache = @this.GetExcutingAssemblies()
.SelectMany(x =>
{
try
{
return x.DefinedTypes.Select(t => t.AsType()); // Throw System.Reflection.ReflectionTypeLoadException
}
catch (ReflectionTypeLoadException ex)
{
return ex.Types.Where(t => t != null);
}
}).ToArray();
}
return typeCache;
}
Metadata
Assignees
Labels
No labels