Closed blakeblackshear closed 12 years ago
Hello and thank you for your time!
Unfortunately I wasn't able to reproduce this in my VS2010. I just cloned read-only copy from github, opened solution in VS, set TestApp as a StartUp project and then pressed Ctrl+F5 and everything went fine.
Could you please describe your building environment a bit: version of visual studio and is NuGet package manager installed or not?
The problem is that wkhtmltox0.dll isn't copied to the bin directory on build as it's supposed to: if you right click it (in the root of Pechkin project) and select Properties, you'll see that it was configured accordingly.
You can just place the file into the build directory yourself and everything will work. But I would like to know, in what environment it happend so I could fix it for future users.
I am on VS2010 Win7 x64
The wkhtmltox0.dll is being copied to the bin folder just fine. I get the error message when I run Html2PdfTestApp.exe directly whether or not wkhtmltox0.dll is in the directory.
I suspect this is some kind of x86 vs x64 issue.
I've changed target of PechkinSynchronized to x86. Could you please check, if it helps?
Same error. I had already tried setting the targets to x86 per the readme on this project: https://github.com/pruiz/WkHtmlToXSharp
I also just tried creating a new console app, installing the pechkin nuget package, and running the SimplePechkin example from the readme. Same error.
Okay. I've copied compiled files from my workstation (server 2008 r2) to Win7x64 and got the error too. Now I'm gonna install VS there and fix it.
Will keep you posted.
This project seems to work for me https://github.com/pruiz/WkHtmlToXSharp
It may help you find the problem.
Fixed the issue in 318f21227e45bf2a10e8cb5268e9bde898ba5871, could you please verify that error is gone and test app runs OK? (Also updated NuGet package.)
It worked for the author of #3, so I'm closing the issue. If it didn't solve the problem for you, please reopen this issue.
When running the test app, it says "Unable to load DLL 'wkhtmltox0.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"