问题
I'm using iText 7.1.10 and .net core 3.0.
If I generate a pdf with a console application, there is no problem, but if I generate the same pdf in a web application, I have the error :
AdobeGlyphList.txt loading error: The type initializer for 'iText.IO.Util.ResourceUtil' threw an exception.
Have you encountered this problem and do you have solutions?
Thank You
回答1:
Solution : Add package Microsoft.DotNet.PlatformAbstractions
来源:https://stackoverflow.com/questions/60333632/itext7-error-in-net-core-web-application-adobeglyphlist