Hello liu yi,
感谢您的询问。
你是从nuget 上安装的我们FreeSpire.Office 7.7.1版本吗?这样会自动安装使用我们NET6.0的dll, 他是依赖的System.Drawing.Common.dll,微软声明了从.NET6.0开始, 在非windows操作系统使用此DLL时,会有错误(
https://docs.microsoft.com/en-us/dotnet ... ndows-only)。为了避免此异常,请下载我们FreeSpire.Office 7.7.1产品包,使用如附件截图中.netstandard2.0的dll到你的项目,因为它依赖是SkiaSharp,然后再用nuget安装下面相应的依赖文件测试。
SkiaSharp >= 1.68.0
System.Text.Encoding.CodePages >= 4.5.0
System.Security.Cryptography.Xml >=4.5.0
System.Memory >= 4.5.0
System.Buffers >= 4.5.0
System.Runtime.CompilerServices.Unsafe >= 4.5.0
如果测试还有问题,请向我们提供您的测试代码和测试文档,方便我们进一步调查您的问题。
Sincerely,
Simple
E-iceblue support team
Login to view the files attached to this post.