sungaila / PDFtoImage

A .NET library to render PDF files into images.
https://www.sungaila.de/PDFtoImage/
MIT License
176 stars 19 forks source link

Update NativeMethods.cs #29

Closed michalblaha closed 1 year ago

michalblaha commented 1 year ago

In Docker (ubuntu/Debian), when .net console app with PDFtoImage is call from another application, workingDirectory is not setup.

Assembly.GetExecutingAssembly().Location returns empty string, not null and new Uri(workingDirectory) than failes with exception "empty Uri"

sungaila commented 1 year ago

Thanks @michalblaha, PDFtoImage 2.3.1 is available now.