-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
[I know VS 2022 is preview and changing]
Resizetizer.NT errors when trying to build in Visual Studio 2022 but works in VS 2019. Diagnostic errors show:
System.TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception. ---> System.DllNotFoundException: Unable to load library 'libSkiaSharp'.
at SkiaSharp.LibraryLoader.LoadLocalLibrary[T](String libraryName)
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at SkiaSharp.SkiaApi.sk_version_get_milestone()
at SkiaSharp.SkiaSharpVersion.get_Native()
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Boolean throwIfIncompatible)
at SkiaSharp.SKObject..cctor()
--- End of inner exception stack trace ---
at SkiaSharp.SKObject.get_Handle()
at SkiaSharp.SKNativeObject.Dispose(Boolean disposing)
at SkiaSharp.SKFileStream.Dispose(Boolean disposing)
at SkiaSharp.SKNativeObject.Finalize()
To repro, open Sample.Android app in this repository clean and rebuild.
Inconsistently, VS 2022 would even crash just trying to open the android project after it has been Cleaned.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels