-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NuGet pack native libs, VS2017 project format #18
base: master
Are you sure you want to change the base?
Conversation
Are you guys going to merge this and make a release or is this still a work in progress? |
Hello, would be possible to move with this? I'm using DinkToPdf in dockerized app so I have to download native libs using wget during build of the container... which works but it would be far more elegant if nuget package could handle this itself. Looks like more people are waiting for this so if you need some help just let us know ;) |
Guys, any plans on actually merging this PR? I think you'll simplify your lib a lot |
Hey @ajryan , sorry to bother, but apparently this PR is approved. Can you merge it? Or is just the owner of the repo who can merge? Cheers |
Hi @Merurino I wish I could! But I don't maintain this repo, just submitted the PR. At this point I'm thinking about forking... |
This really needs merging, building and making its way into the NuGet repo |
+1 I agree we've been having lots of issues getting the dll's to load and adding custom assembly is not ideal if it can be managed through nuget. |
Does this commit fix the path issues in docker, any news on this being merged if so? |
Not sure what you mean by "path issues" - what's the symptom? |
The issue is (I think) that when running inside a docker container, invoking the PDF conversion on html content, images and stylesheets are not rendered, and rather one has to make a GET request to a service which will return the rendered html page instead I spent a bit of time fighting this issue but in the end we just stood up a service with a POST endpoint for picking up the request for a PDF which either cached the input data locally, temporarily (not the end solution), or converted the input data to a URL encoded string to pass as a query param in a GET call to the service which applied the data to dynamic html (Razor template) and returned a properly rendered HTML page, which was then passed in as the HTML to the PDF generator -I so hope that makes sense.
|
In the end i just has to update my dockerfile with some dependencies to be able to run the included file for linux |
@rdvojmoc Any update? |
I think it's time to fork guys.
plus we can give it a better name that will have a higher "Dev manager
acceptance factor"
…On Fri, Mar 8, 2019, 3:34 PM Jim Wolff ***@***.***> wrote:
@ajryan <https://github.com/ajryan> @rdvojmoc
<https://github.com/rdvojmoc> it would be great with more people that
have write access, otherwise we have been thinking about creating a new
nuget package with these issues solved, since we are also using dinktopdf.
It would be better to continue with the original package though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAsJ2pBj5vdutm7YToXmFAt3LVmhHNakks5vUslDgaJpZM4ROkqR>
.
|
@ajryan If it's useful for anyone, I published a nuget package of my last PR #72 including your updates, a bugfix and an upgrade to .NET standard 2.0 and wkhtml2pdf 0.12.5 at https://www.nuget.org/packages/RndUsr0.DinkToPdf/ It's only been tested on Windows, but any feedback gratefully received... |
@rndusr0 awesome! All, Chris Bryden's (rndusr0) fork looks solid to me. I plan to adopt his NuGet package and file issues against his repo instead of here. (If that's OK with you, Chris.) |
@ajryan Thanks - Yes that's great with me, I'll aim to get it set up on my Linux and MacOS machines so I can test there. We are using this package in commercial projects on Windows, so I'd appreciate any bug reports or suggestions for improvement and will aim to get them turned round in a reasonable amount of time! |
My repo (https://github.com/hakanl/DinkToPdf) is also on NuGet and it includes all native binaries, is docker-compatible (and tested). |
No description provided.