Maybe I am missing what you are trying to do but you do not need the full Hangfire nuget package for this I think. You can just use Hangfire.Core and the storage DLL (like Hangfire.Sqlserver or Hangfire.Mongo) to get what you need to be able to enqueue jobs. I assume in this that you have the actual execution of jobs (i.e. the JobServer and optionally Dashboard) running in a different application (either ASP.NET app or Selfhosted).
I am also confused about the JQuery thing, it did not bother with it in any of my projects so far at any stage. Perhaps you can try adding
to the VS project file. With the latest .Net versions (4.7.1 and 4.7.2.preview) there is a bit of a shift going on with which packages are now incorporated into the .NET runtime/sdk as opposed to being Nuget packages so this setting also helps a lot with that in my experience. Your mileage may vary.
Running it in a UI (such as a Winforms app) would not be advisable probably. As to your ThreadStateException this is not a Hangfire issue, it’s just a thing with the ActiveX you are trying to use, similar to webbrowser control in a new thread.