You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround:
Create the following structure in your solution => wkhtmltopdf/{OS}/{architecture}/wkhtmltopdf.exe => for windows wkhtmltopdf/windows/x64/wkhtmltopdf.exe
then in VS Properties "Copy to Output Directory": "Copy always"
It should works
Edit: I have an issue after to have deployed on Azure (executable not found)
I have fond no solutions with this library so i have switched to another wrapper for wkhtml (and handle manually the path of wkhtml.exe via an available option) https://github.com/cp79shark/Shark.PdfConvert
I'm assuming that the code is copying the file to the incorrect folder. I'm thinking of instead doing this in the nuget project, just include the binary within the application and unpack it on initial run. But I haven't gotten around to it, so if someone wants to help out with this I'm more than happy to approve a PR for that
Exception is thrown when trying to find the executable path to wkhtmltopdf.exe
"Executable not found.":"C:\\Users\\<user>\\.nuget\\packages\\pugpdf.core\\1.0.8\\lib\\netstandard2.0\\wkhtmltopdf\\windows\\x64\\wkhtmltopdf.exe"}
The text was updated successfully, but these errors were encountered: