Closed turowicz closed 4 years ago
Output before crash:
testhost Information: 0 : Phase changed 0 - Loading pages
testhost Information: 0 : Progress changed 0%
testhost Information: 0 : Progress changed 10%
testhost Information: 0 : Progress changed 50%
testhost Information: 0 : Progress changed 100%
testhost Information: 0 : Phase changed 1 - Counting pages
testhost Information: 0 : Progress changed Object 1 of 1
testhost Information: 0 : Phase changed 3 - Resolving links
testhost Information: 0 : Progress changed Object 1 of 1
testhost Information: 0 : Phase changed 4 - Loading headers and footers
testhost Information: 0 : Phase changed 5 - Printing pages
testhost Information: 0 : Progress changed Preparing
I think it could be related to "PagesCount = false". I get a "System.DivideByZeroException" when I set PagesCount to false. I see it was an issue that has been closed: https://github.com/rdvojmoc/DinkToPdf/issues/22
Hey, I have the following code:
The program exits without any error or exit code on line:
return _converter.Convert(doc);
The input html is:
Any ideas what may be wrong? The 3rd party library files are in bin via Target:
I'm running dotnet core 2.1 on OSX.
PS. Multithreading is a non-issue as this is a single unit test.