Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Jul 09, 2024 5:01 pm

We are unable to use Spire.Doc in Linux containers and .NET 8 (LTS). This is preventing us from being able to use this tool. It appears that an underlying library (System.Drawing.Common) stopped supporting Linux after .NET 6 and now throws an exception. Outside of not using Linux, not an option for us, is there anything we can do to use this tool with later, supported .NET versions?

bvanfleet
 
Posts: 2
Joined: Tue Jul 09, 2024 4:50 pm

Wed Jul 10, 2024 5:15 am

Hello,

Thank you for your inquiry.
If you require cross-platform functionality with Spire.Doc, please download the Spire.Doc version 12.7.3 from the link below.
https://www.e-iceblue.com/Download/down ... t-now.html
After downloading, extract the package and navigate to the BIN\netstandard2.0 directory. From there, manually add the 'Spire.Doc.dll' file to your project. Next, using NuGet in Visual Studio, install the following dependencies:

SkiaSharp >= 2.80.0
System.Buffers >= 4.5.1
System.Memory >= 4.5.5
Microsoft.Win32.Registry >= 4.5.0
System.Text.Encoding.CodePages >= 4.5.0
System.Security.Cryptography.Pkcs >= 4.5.0
System.Security.Cryptography.Xml >=4.5.0
System.Security.Permissions >= 4.5.0
HarfBuzzSharp >=2.6.1.5
SkiaSharp.NativeAssets.Linux.NoDependencies >=2.88

If there's still any issue, welcome to contact us at any time.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 334
Joined: Mon Nov 07, 2022 8:10 am

Wed Jul 10, 2024 9:19 am

Hi,

To facilitate your use, we have newly uploaded the Spire.Doc for .NetStandard package to nuget. You can now directly download this package from nuget on VS without manually importing it as mentioned above.

nuget: https://www.nuget.org/packages/Spire.Do ... ard/12.7.3

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 334
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.Doc