SkiaSharp cannot be used

linux
.NET Core SDK 2.1.302
Container image: dotnet-21-rhel7
Aspose.Words: 22.4 (NuGet package)

use SkiaSharp.dll 1.68.1.1,error:

System.IO.FileLoadException: Could not load file or assembly 'SkiaSharp, Version=2.80.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'SkiaSharp, Version=2.80.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
   at QBTool.AnBiao.Core.WordFormatCheck.WordCheck(String[] filePath, FormatInfo formatInfo, Dictionary`2 CheckListResult, ErrorTableLog& error)
   at QBTool.AnBiao.DQCommon.WebForm.anbiao_Eco.anbiaoWeb.GetCheckResult(String JsonObject)


update SkiaSharp.dll to version 2.80.1,error:
System.TypeInitializationException: The type initializer for 'Bm' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception. ---> System.InvalidOperationException: The version of the native libSkiaSharp library is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [80.0, 81.0).
   at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Version minimum, Version current, Boolean throwIfIncompatible)
   at SkiaSharp.SKObject..cctor()
   --- End of inner exception stack trace ---
   at SkiaSharp.SKBitmap..ctor()
   at SkiaSharp.SKBitmap..ctor(SKImageInfo info, Int32 rowBytes)
   at SkiaSharp.SKBitmap..ctor(Int32 width, Int32 height, Boolean isOpaque)
   at Bm..cctor()
   --- End of inner exception stack trace ---
   at QBTool.AnBiao.Core.WordFormatCheck.WordCheck(String[] filePath, FormatInfo formatInfo, Dictionary`2 CheckListResult, ErrorTableLog& error)
   at QBTool.AnBiao.DQCommon.WebForm.anbiao_Eco.anbiaoWeb.GetCheckResult(String JsonObject)

not all the Word document will quote this dll,I wonder in which case load document will use this SkiaSharp

@Melancholy Aspose.Words 22.4 version requires SkiaSharp 2.80.1. If you add reference to Aspose.Words using NuGet the required version of SkiaSharp must be loaded automatically.

Aspose.Words for .NET Standard uses SkiaSharp to deal with graphics, to make it work on Linux you have to add reference either to SkiaSharp.NativeAssets.Linux or to SkiaSharp.NativeAssets.Linux.NoDependencies

If you add reference to SkiaSharp.NativeAssets.Linux, you should also install libfontconfig1 in your system. SkiaSharp.NativeAssets.Linux depends on this library. You can use the following command to install it:

apt-get update && apt-get install -y libfontconfig1

If you do not have rights to install packages, or other reasons not to install libfontconfig1, you can simply use SkiaSharp.NativeAssets.Linux.NoDependencies, which does not require installation of libfontconfig1.