Replies: 1 comment
-
After reading issue 3267, I decided to try version 3.116.1 instead of 3.119.0 and that fixed the defect for now. Looks like I'll need to either upgrade to Windows Server 2025 or they'll need to fix this issue before I can use a version >= 3.119.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to run a .NET 4.8 windows service on Windows Server 2019 I receive the following error when the code tries to use SkiaSharp:
The libSkiaSharp.dll file exists in the arm64, x64, and x86 sub-directories of the service's exe folder.
What is the best way to resolve this?
Here are some options I am aware of, but not sure they will remedy this:
Assembly.GetExecutingAssembly().Location
. But could this cause other things that currently succeed to fail?AppDomain.CurrentDomain.AssemblyResolve
event specifically forlibSkiaSharp
I tried Option 1 and it didn't work.
I've reviewed the LoadLocalLibrary code and verified that the AppDomain.BaseDirectory has always been pointed to the correct path.
So it looks like it finds the DLL but cannot load it.
Does the libSkiaSharp.dll have a dependency that I need to worry about on Windows 2019 Server x64?
Is there anything else I may be missing?
Beta Was this translation helpful? Give feedback.
All reactions