I’m currently creating a scheduler that is supposed to work across 3 implementations.
I’m currently using a strategy pattern to create each implementation of getting reports across each respective project.
The hangfire server is actually located in 1 main project but the other 2 projects refer to the same hangfire server.
When I attempt to pass in a subclass to my BackgroundJob in one of the secondary projects, it then says it cannot find the assembly.
I cannot have references in the main project to my second project.
What are some possible solutions?
Would firing up another hangfire server work? I figure if I created a hangfire server within the project in question, that it would be able to find the assembly for the sub class when it goes to enqueue a new task.
Does anybody have any possible solutions?