Skip to content

Conversation

@StephaneDelcroix
Copy link
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description

Enables XAML Source Generator (XSG) on the Controls.ManualTests project by setting MauiXamlInflator=SourceGen.

Changes

  • Added <MauiXamlInflator>SourceGen</MauiXamlInflator> to enable XAML Source Generator for better performance and debugging
  • Added NoWarn="0612" for HeaderFooterAddClearPage.xaml which uses deprecated NamedSize (FontSize="Title")

Testing

  • Built and ran on MacCatalyst successfully

Copilot AI review requested due to automatic review settings December 7, 2025 19:29
@StephaneDelcroix StephaneDelcroix added this to the .NET 10.0 SR3 milestone Dec 7, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables the XAML Source Generator (XSG) on the Controls.ManualTests project to improve build performance and debugging capabilities.

Key Changes:

  • Adds MauiXamlInflator=SourceGen to enable XAML Source Generator
  • Suppresses CS0612 warning for one XAML file using deprecated NamedSize FontSize syntax

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