Could not load file or assembly The system cannot find the file specified

well I’m using hangfire 1.8.0 with .net framework 4.7.2
what I experienced is that I made project for the dashboard only and I published it on IIs server and I also referenced all the dlls of the jobs the problem is that it gives this error on recuring jobs on the published project but when I Use Debugger every thing is okay