.net core 3.1 and HangFire - System.IO.FileNotFoundException

recurring
Tags: #<Tag:0x00007f499b21b880>

#1

Hi guys
I am having issue running jobs due to the System.IO.FileNotFoundException. I believe it is a bit different to other not found exceptions. We are using new feature in .net core 3, which enables to pack everything on one .exe find and after run it it a Windows Service.

When we run the job we get this error:

Now, I was trying to check if I can load Assembly and see it’s location:

You can see that .net core unpack the .exe somewhere in temp folder.
Do you have any idea where HangFire is trying to find assembly?