iTextSharp:是否支持 dotnet 核心 (netstandard1.6)? [英] iTextSharp: Any support for dotnet core (netstandard1.6)?

查看:28
本文介绍了iTextSharp:是否支持 dotnet 核心 (netstandard1.6)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我一直将 iTextSharp 与常规 dotnet 应用程序一起使用.我们有兴趣将它与 dotnet core 一起使用.但似乎在新的 dotnet 核心平台上仍然不支持该库:

I've been using iTextSharp with regular dotnet applications for a while now. We're interested in using it with dotnet core. But it seems that the library is still not supported on the new dotnet core platform:

包 iTextSharp 5.5.10 与 netstandard1.6 不兼容

Package iTextSharp 5.5.10 is not compatible with netstandard1.6

您是否计划在未来版本中支持 dotnet 核心?

Do you plan to support dotnet core in a future release?

推荐答案

声明:在我撰写以下声明时,我是 iText Software 的一名员工.

For the record: I was an employee at iText Software at the time I wrote the following statement.

截至 2016 年,任何 iText 项目都不支持 .NET Core 和相关的 UWP 标准.我们对这两种新技术进行了调查,并发现在支持它们方面存在重大问题,因为 .NET Core 软件堆栈的某些组件发生了剧烈的修改.您可以阅读 https://stackoverflow.com/a/34612369/2065017 了解有关我对 UWP;.NET Core 的问题非常相似.

As of 2016, .NET Core and the related UWP standard are not supported by any iText projects. We have done investigations into both these new technologies and have found that there are significant issues with supporting them, because of drastic modifications in certain components of the .NET Core software stack. You can read https://stackoverflow.com/a/34612369/2065017 for more details about my initial investigation into UWP; the problems with .NET Core are very similar.

.NET Core 将得到支持,它可能只会出现在我们的新项目 iText 7 中,它不向后兼容 iText 5(也称为 iTextSharp).这样做的原因是 iText 5 现在仅处于维护阶段,即错误修复版本,因为它在用户社区中被 iText 7 取代.

.NET Core will be supported, it will probably only be in our new project iText 7, which is not backwards compatible to iText 5 (also known as iTextSharp). The reason for this is that iText 5 is now only on maintenance, i.e. bugfix releases, as it is being supplanted by iText 7 in the user community.

iText 7 for .NET(仅表示.NET Framework)实际上是iText 7 for Java 的自动移植,使用工具Sharpen.这消除了过去由于移植遗漏或错误而在 iTextSharp 5 中弹出的许多令人讨厌的挥之不去的错误的可能性.我们目前正在寻找是否有任何方法可以为 .NET Core 复制此工作流,以便我们可以支持这一点,而无需进行手动移植和手动维护.很遗憾地通知您,我们还没有找到任何此类工具,因此我们可能需要自行研究构建一个类似 Sharpen 的工具.不出所料,这目前并不是我们作为一家公司的首要任务.

iText 7 for .NET (meaning only the .NET Framework) is actually an automated port of iText 7 for Java, using the tool Sharpen. This takes away the possibility of many nasty lingering bugs that used to pop up in iTextSharp 5 because of porting omissions or errors. We are currently looking if there is any way to duplicate this workflow for .NET Core so that we can support this without having to do manual porting and manual maintenance. I regret to inform you that we have not found any such tool yet, so we may have to investigate building a Sharpen-like tool ourselves. This is currently, perhaps unsurprisingly, not our biggest priority as a company.

我不再是 iText Software 的一名员工,但我知道自 2018 年初发布的适用于 .NET 的 iText 7.1.1 开始支持 .NET Standard 1.6 及更高版本,因此任何相对较新的 UWP 版本和.NET Core 也支持.

I am no longer an employee at iText Software, but I know that .NET Standard 1.6 and up have been supported since iText 7.1.1 for .NET, which was released in early 2018, thus any relatively recent version of UWP and of .NET Core are also supported.

这篇关于iTextSharp:是否支持 dotnet 核心 (netstandard1.6)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆