.net 核心 Web 应用程序中的 itext7 错误:AdobeGlyphList [英] itext7 error in .net core web application: AdobeGlyphList
本文介绍了.net 核心 Web 应用程序中的 itext7 错误:AdobeGlyphList的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的是 iText 7.1.10 和 .net core 3.0.
I'm using iText 7.1.10 and .net core 3.0.
如果我用控制台应用程序生成pdf,没有问题,但如果我在web应用程序中生成相同的pdf,我有错误:
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 加载错误:iText.IO.Util.ResourceUtil"的类型初始值设定项引发异常.
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?
谢谢
推荐答案
Solution : Add package Microsoft.DotNet.PlatformAbstractions
Solution : Add package Microsoft.DotNet.PlatformAbstractions
这篇关于.net 核心 Web 应用程序中的 itext7 错误:AdobeGlyphList的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文