UglyToad / PdfPig

Read and extract text and other content from PDFs in C# (port of PDFBox)
https://github.com/UglyToad/PdfPig/wiki
Apache License 2.0
1.73k stars 241 forks source link

End users having issues #938

Open kareemsulthan07 opened 22 hours ago

kareemsulthan07 commented 22 hours ago

In my project I have added pdfpig nuget package along with its dependencies. Everything was working fine until I recently updated its dependencies to their latest version. Now end users are getting these errors.

image

image

And, version details : target framework : .net framework 4.7.2 pdfpig version : 0.1.9

dependencies microsoft.bcl.hashcode : 6.0.0 system.memory : 4.6.0 system.runtime.compilerservices.unsafe : 6.1.0

BobLd commented 19 hours ago

@kareemsulthan07 can you check you don't have library conflicts in the project where you use PdfPig?

For example PdfPig should target System.Memory Version=4.5.5

kareemsulthan07 commented 3 hours ago

I downgraded System.Memory version from 4.6.0 to 4.5.5 across all projects in my solution. Now it is giving this error. image