DinkToPdf
DinkToPdf copied to clipboard
NuGet package does not link native libs
Rather than have to copy the libwk*.* native libs into the output folder, you can set up the NuGet package to include them automatically. They just need to be linked like so in the NuSpec:
<file src="..\..\v0.12.4\64 bit\libwkhtmltox.dll" target="runtimes\win7-x64\native" />
<file src="..\..\v0.12.4\64 bit\libwkhtmltox.so" target="runtimes\linux-x64\native" />
<file src="..\..\v0.12.4\64 bit\libwkhtmltox.dylib" target="runtimes\osx-x64\native" />
same goes for x86...
I'm happy to create a pull request if you'd like.
Thanks!
Hi @ajryan ,
If you could make a pull request it would be great.
Will do. Do you want it to stay in VS2015 / project.json format? Or is it OK to push up to VS2017 / new csproj as well?
Please update it to VS2017. Thanks.
PR #18 - thanks!
@ajryan thanks for the PR, I will review it in next week.
Hi @rdvojmoc
Do you have any update on this ?
Kind regards Rob
@rdvojmoc If you need any assistance i'd love to help out with the pullrequest or anything else on dinktopdf