-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] .NET 9 Android: "Assembly 'SkiaSharp' produced trim warnings" #3042
Comments
You need to put |
These are the detailed warnings:
Just to be clear, my app works well, I'd just like to have a warning-free build :) |
@jonathanpeppers thoughts? |
You need to rebuild for .NET 8. |
@tipa Do the warning still appear if you build using the latest SkiaSharp preview? That was built with .NET 8. |
No, warning seems to have disappeared |
Thanks for letting me know. I will close this for now. |
Description
I am seeing build warnings when compiling my app with .NET 9 RC 2 for Android.
Example project: test.zip
Code
In a .NET 9 Android project, add this:
You can also share some XAML:
Expected Behavior
No warnings
Actual Behavior
Version of SkiaSharp
3.x-preview.4.1 (Current Preview)
Platform / Operating System
Android
Code of Conduct
The text was updated successfully, but these errors were encountered: