Skip to content

[BUG] Trim warnings in XAML Compilation #304

Open
@mirekjuszczak

Description

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Actual Behavior
When publishing an app there are severals Trim warnings related to XAML Compilation in SKConfettiViewResources, SKLottieViewResources and SKSurfaceViewResources in SkiaSharp.Extended

Expected Behavior
When publishing an app there are no Trims related to SKConfettiViewResources, SKLottieViewResources and SKSurfaceViewResources

Reproduction steps

  1. Download reproduction sample
  2. Publish for iOS using dotnet publish:
  dotnet publish -f net9.0-ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 SkiaSharp-TrimWarnings-3.116.0.csproj
  1. The Trim warnings should be generated.
  2. Attached the file with all the warnings generated during publish: skia_trim_warnings_build.log

Link to public project of reproduction
https://github.com/mirekjuszczak/SkiaSharp-TrimWarnings-3.116.0

Environment

- .NET MAUI CommunityToolkit: 11.1.0
- OS: MacOS 14.5 
- .NET MAUI: 9.0.3

Anything else?
No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions