Skip to content

Comments

Enable XAML Source Generator on ManualTests project#33036

Merged
PureWeen merged 1 commit intoinflight/candidatefrom
enable-xsg-manualtests
Feb 3, 2026
Merged

Enable XAML Source Generator on ManualTests project#33036
PureWeen merged 1 commit intoinflight/candidatefrom
enable-xsg-manualtests

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

@github-project-automation github-project-automation bot moved this from Todo to Approved in MAUI SDK Ongoing Feb 3, 2026
@PureWeen PureWeen changed the base branch from main to inflight/candidate February 3, 2026 14:48
@PureWeen PureWeen merged commit 57208e7 into inflight/candidate Feb 3, 2026
167 of 169 checks passed
@PureWeen PureWeen deleted the enable-xsg-manualtests branch February 3, 2026 14:48
@github-project-automation github-project-automation bot moved this from Approved to Done in MAUI SDK Ongoing Feb 3, 2026
github-actions bot pushed a commit that referenced this pull request Feb 8, 2026
<!-- Please let the below note in for people that find this PR -->
> [!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](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) 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
PureWeen pushed a commit that referenced this pull request Feb 9, 2026
<!-- Please let the below note in for people that find this PR -->
> [!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](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) 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
github-actions bot pushed a commit that referenced this pull request Feb 9, 2026
<!-- Please let the below note in for people that find this PR -->
> [!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](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants