Replies: 2 comments 11 replies
-
Is the compiled assembly named QuartzJobCore6? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is log4net.dll also present in the folder? Some missing dependency could also cause trouble. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I'm struggling with the simplest of tasks. I read all the documentation, looked at the examples but still I cannot figure out where is the mistake I'm making.
I'm running Quartz through Quartz.Server.exe (3.6.2 .net6 for example) and I would like to make it run a Job I wrote in a simple .net6 DLL. This projects contains just one class that is the following:
After compiling, I copy the DLL in the same folder of Quartz.Server.exe and I modify quartz_jobs.xml by adding the following XML portion instead of the default one:
Then, I run Quartz.Server.exe from command line but I alwasy get this error, amongst the standard output:
I tried many combinations of namespace and job name, all leading to the same result. If I do the whole thing using .NET Framework 4.8 it works perfectly. My best guess is that I make some mistakes while compiling the DLL, but I really cannot figure out why this happens.
Any clues?
The Visual Studio solution can be found at the following address: https://github.com/Scimiot/Simple-Quartz-.NET-Core-6-Job
Beta Was this translation helpful? Give feedback.
All reactions