use `<PublishSingleFile>true</PublishSingleFile>` not found directory name.
juner opened this issue · comments
It works fine when I debug it, but when I publish it and run it, it doesn't work.
As far as I can see the source, here I am getting DirectoryName from Location
PDFtoPrinter/PDFtoPrinter/PDFtoPrinterPrinter.cs
Lines 90 to 93 in 20a99d7
Shouldn't it fall back to AppContext.BaseDirectory if the Location return value is an empty string?
sample project: https://github.com/juner/PdfToPrinterNotWorkSample_20230214
Hi @juner
Thanks for reporting the issue. Could you please try version 1.5.0 and let me know if it helped?
@svishnevsky
it worked fine
Thank you very much! !