Comments (2)
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
from pugpdf.
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
from pugpdf.
Related Issues (12)
- Not working on Linux Envirotment HOT 2
- Library doesn't work in single file application in .NET 5
- Executable not found in dotnet core 5 HOT 1
- Executeable not found in dotnet Net6 core HOT 3
- wrong destination path, not running with azure-function, HOT 4
- I want to add Image to pdf file using this library....I tried alot...But i am not able to do this.Can someone help me in adding image as logo to pdf file. HOT 3
- Headers/Footers/Misc HOT 2
- Improve documentation
- Hi. I need to see multiple rows of data for table in pdf file.
- Full HTML to pdf (including css) HOT 1
- pdf to html HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pugpdf.