Windows runtime 使用不支持的API的itextsharp

Windows runtime 使用不支持的API的itextsharp,windows-runtime,windows-store-apps,itextsharp,windows-8.1,windows-store,Windows Runtime,Windows Store Apps,Itextsharp,Windows 8.1,Windows Store,我用nuget添加的iTextsharp库创建了Windows8应用程序。我实施了更改,测试了应用程序,一切正常,但当我运行“Windows应用程序认证工具包”时,我发现很多错误,iTextsharp使用的许多API在这种类型的应用程序中不受支持。 例如: API System.ICloneable in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. itextsharp

我用nuget添加的iTextsharp库创建了Windows8应用程序。我实施了更改,测试了应用程序,一切正常,但当我运行“Windows应用程序认证工具包”时,我发现很多错误,iTextsharp使用的许多API在这种类型的应用程序中不受支持。 例如:

API System.ICloneable in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. itextsharp.dll calls this API.

API System.IO.FileSystemInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. itextsharp.dll calls this API.

API System.IO.FileInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. itextsharp.dll calls this API.

API System.Drawing.Color in SYSTEM.DRAWING, PUBLICKEYTOKEN=B03F5F7F11D50A3A is not supported for this application type. itextsharp.dll calls this API.

是否有人在Microsoft store上发布过带有iTextsharp的windows应用程序?

我尝试了“wo_Drawing”,但仍然存在不受支持的API。我从sourceforge下载了代码并开始重写库。

官方的iTextSharp二进制文件(我无法说明NuGet上的内容)有一个名为
iTextSharp-DLL-core-wo_Drawing
的DLL,仅根据名称听起来似乎没有引用
System.Drawing
名称空间。可能其他物品也被移除了,所以我先去看看。否则,如果你在商店里卖东西,那将是对你的有偿支持合同的一个很好的利用。你的第三个选择是下载源代码并删除这些实例,可能不会花太长时间。我不知道有任何免费的pdf库用于windows应用商店应用程序。Syncfusion有一个库,如果您有资格获得爱好者提供的服务,它并不昂贵。