Skip to content

Enable AOT Support - #312

Merged
TheCodeTraveler merged 7 commits into
mainfrom
Enable-AOT-Support
Sep 8, 2024
Merged

TheCodeTraveler merged 7 commits into
mainfrom
Enable-AOT-Support

Conversation

@TheCodeTraveler

@TheCodeTraveler TheCodeTraveler commented Sep 6, 2024 •

Copy link
Copy Markdown
Collaborator

Description of Change

This PR enables Full AOT for CommunityToolkit.Maui.Markup by adding <IsAotCompatible>true</IsAotCompatible>.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard

Additional information

This PR promotes all of the Trimmer + AOT analyzer warnings to errors in <warningsaserrors> inside Directory.Build.props to ensure we don't accidentally inject non-AOT Safe code in future PRs.

This PR also enables <PublushAot> for Release builds of CommunityToolkit.Maui.Markup.Sample to ensure our sample continues to run nominally while using AOT and does not break in future releases.

@TheCodeTraveler
TheCodeTraveler merged commit 2123e67 into main Sep 8, 2024
@TheCodeTraveler
TheCodeTraveler deleted the Enable-AOT-Support branch September 8, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants