Hello everyone,
Could someone help me understand the following issue?
When I try to recreate/update a recurring job using:
RecurringJob.AddOrUpdate( jobId, methodCall, scheduleString, new RecurringJobOptions { QueueName = "Test" });
I receive the following exception:
at System.Reflection.TypeNameResolver.ResolveAssembly(AssemblyName assemblyName)
at System.Reflection.TypeNameResolver.GetType(String escapedTypeName, ReadOnlySpan`1 nestedTypeNames, TypeName parsedName)
at System.Reflection.TypeNameResolver.Resolve(TypeName typeName)
The referenced project and assembly exist in the solution, and the application builds successfully. The issue occurs when Hangfire attempts to load the recurring job definition.
Has anyone encountered a similar problem or knows what might cause Hangfire to fail to resolve an assembly that is otherwise available to the application?
Note: seems that issue is related with updated packages
Any suggestions would be greatly appreciated. Thank you.