-
Notifications
You must be signed in to change notification settings - Fork 591
Description
Description
I'm getting a build issue where SkiaSharp.NativeAssets.Linux v2.88.7 is being included as a transient package rather than v3.119.0. I'm guessing, but believe this is due to SkiaSharp.csproj not referencing the SkiaSharp.NativeAssets.Linux project
Code
Add this to SkiaSharp.csproj:
Expected Behavior
Linux build to include the same version of all native assets as the version of SkiaSharp (3.119.0)
Actual Behavior
An old version of Linux native assets is included (2.88.1) and the following error is thrown:
System.TypeInitializationException : The type initializer for 'SkiaSharp.SKColorSpace' threw an exception.
----> System.TypeInitializationException : The type initializer for 'SkiaSharp.SKObject' threw an exception.
----> System.InvalidOperationException : The version of the native libSkiaSharp library (88.1) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [119.0, 120.0).
Version of SkiaSharp
3.116.0 (Current)
Last Known Good Version of SkiaSharp
2.88.9 (Previous)
IDE / Editor
Visual Studio (Windows), Other (Please indicate in the description)
Platform / Operating System
Linux
Platform / Operating System Version
Occurring in Linux runner in GitHub Action for CI
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Type
Projects
Status