Closed hauffautomation closed 2 years ago
What .NET framework are you publishing for? See if you publish/run it in debug to see if there are any errors that can guide you to figure out what the issue is. Basically you should have the native binaries as part of the published folder.
I use .NET 4.7.2 In my published folder I see only WkHtmlToPdfDotNet.dll.deploy.
Is there a way to display the path to the runtimes during runtime
The solution for me was to add the following to the .csproj or .vbproj file:
`
`
First, I copied the "runtimes" folder into the project directory.
Yeah this is a duplicate of #39, we don't have a good solution to support publish in the old .NET Framework at the moment.
When I start my project from Visual Studio, converting HTML to PDF works. As soon as I publish it and install the setup the conversion does not work anymore - unfortunately without any error message. At which point do the runtimes WkHtmlToPdf have to be located?