-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[net9-rc2] Trim analysis warning IL2026 using XamlTypeResolver with Compiled Bindings #25199
Comments
- fixes #25199 Co-authored-by: Stephane Delcroix <stephane@delcroix.org>
@StephaneDelcroix @PureWeen @simonrozsival |
I'm seeing something similar trying to AOT compile the MAUI sample from the Sentry repository. |
@tranb3r EDIT: I realized I was still building with RC2 because I didn't remove an override that forced the RC version: https://github.com/tranb3r/Issues/blob/main/MauiAppTestTrimAnalysis/Directory.Build.props#L5. After removing this override and changing global.json, I cannot reproduce the bug anymore. There is no more warning produced by ILLink. Sorry for the confusion. |
Description
When using compiled bindings, I get the following trim analysis warning:
Is there a fix or workaround?
Steps to Reproduce
Link to public reproduction project repository
https://github.com/tranb3r/Issues/tree/main/MauiAppTestTrimAnalysis
Version with bug
9.0.0-rc.1.24453.9
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
Android 15
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: