itext7 error in .net core web application: AdobeGlyphList

我是研究僧i 提交于 2021-02-05 09:02:28

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!