Hi,
Thank you for your inquiry.
Kindly note the Spire.XLS and Spire.PDF are two independent products, they can't be used together in a same project due to the incompatible. So please remove the Spire.PDF from your project to have a test.
If the exception "The type initializer for 'sprᵎ' threw an exception." still exists on your side, I guessed the issue might be related to the libgdiplus dependency. We provide the dlls for NetStandard, which doesn't depend on libgdiplus. Please download the latest
Spire.XLS Pack(Hotfix) Version:12.7.1 from our website and manually add the DLLs from the folder “netstandard2.0” in your project, also install the following dependencies via NuGet to have a test on your ECS cluster in AWS.
SkiaSharp >= 1.68.0
System.Text.Encoding.CodePages >= 4.5.0
System.Security.Cryptography.Xml >=4.5.0
SkiaSharp.NativeAssets.Linux.NoDependencies
If it does not help you, please provide some steps about deploying your app in ECS cluster and other helpful documentation to help us quickly and accurately investigate your issue. Thanks in advance.
Sincerely,
Kylie
E-iceblue support team