Skip to content
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

[XC] Report XC0025 as an error only in strict compilation mode #25082

Conversation

simonrozsival
Copy link
Member

@simonrozsival simonrozsival commented Oct 4, 2024

Description of Change

We shouldn't report XC0025 (introduced in #24924) as an error even when the app has TreatWarningsAsErrors set to true unless the app is in strict compilation mode (NativeAOT, full trimming, manually enabled). Leaving this as an error could make it more costly and difficult to migrate to .NET 9.

/cc @PureWeen

@simonrozsival simonrozsival requested a review from a team as a code owner October 4, 2024 09:50
@rmarinho
Copy link
Member

rmarinho commented Oct 4, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@rmarinho
Copy link
Member

rmarinho commented Oct 4, 2024

/rebase

@github-actions github-actions bot force-pushed the report-xc0025-only-in-strict-compilation-mode branch from 475e2be to 4a0135c Compare October 4, 2024 23:28
@PureWeen PureWeen added this to the .NET 9.0 GA milestone Oct 15, 2024
@PureWeen PureWeen merged commit 61114e3 into dotnet:net9.0 Oct 15, 2024
121 checks passed
@PureWeen
Copy link
Member

/backport to release/9.0.1xx

Copy link
Contributor

Started backporting to release/9.0.1xx: https://github.com/dotnet/maui/actions/runs/11352818827

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants