Because I’d like to debug/single step thru HangFire API methods. I’ve successfully done so, and have a got a general idea. Here’s how to do it:
- Download Hangfire Source Code
- Importing Hangfire Source Code to Existing Solution:
a. In Existing Solution: Right Click on Solution “”
b. Add > “Existing Project”
c. Browse to root folder in Hangfire: “GitHub/Hangfire”
d. Click on the File type drop-down menu and select: “Solution Files”
e. Double-click “Hangfire.sln” - Build your VS Solution
- Restoring Missing References from imported Hangfire Projects:
a. Right-click on your Solution > Enable NuGet Package Restore.
b. Build
c. For any remaining “The type or namespace name ‘<>’ could not be found (are you missing a using directive or an assembly reference?)”
Install these Packages Manually - Add Hangfire Source References to Existing Project:
a. Open the drop-down menu in your existing project
b. Right Click on “References” folder > “Add Reference…”
c. From “Solution/ Projects”: Select all Hangfire Projects > Ok