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] Fix passing message arguments to BuildException when logging warning as error #25151

Merged

Conversation

simonrozsival
Copy link
Member

Description of Change

We weren't passing messageArgs to the constructor of BuildException. In the case of warnings such as XC0045 the error message could not be correctly formatted because it expected multiple arguments and none were available.

/cc @StephaneDelcroix

@rmarinho
Copy link
Member

rmarinho commented Oct 9, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@simonrozsival
Copy link
Member Author

The failing tests don't seem related.

@simonrozsival simonrozsival merged commit 1a69f24 into dotnet:net9.0 Oct 14, 2024
121 checks passed
@simonrozsival simonrozsival deleted the fix-build-exception-logging branch October 14, 2024 12:20
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Oct 14, 2024
@PureWeen PureWeen added this to the .NET 9.0 GA milestone Oct 16, 2024
@PureWeen PureWeen self-assigned this Oct 16, 2024
@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/11368120962

@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2024
@samhouts samhouts added fixed-in-9.0.10 and removed fixed-in-net9.0-nightly This may be available in a nightly release! labels Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants