Delete GlobalXmlns.cs from maui-mobile template#31730
Merged
jfversluis merged 1 commit intomainfrom Sep 24, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR reverts a previous change by removing the GlobalXmlns.cs file from the maui-mobile template to avoid user confusion. The file was intended to help with XAML simplifications but requires additional setup that isn't clear to template users.
- Removes GlobalXmlns.cs file containing XML namespace definitions
- Prevents confusion until XAML Simplifications and Source Generation are more mature
- Will be re-evaluated for future template inclusion with proper options
jsuarezruiz
approved these changes
Sep 24, 2025
Member
Author
|
/backport to net10.0 |
Contributor
|
Started backporting to net10.0: https://github.com/dotnet/maui/actions/runs/17969535803 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts #29203
While adding this file is useful for people to make a start, people still need to make changes to their template/app to make it work. So in its current form this is confusing to have it in the templates.
Removing this for now to avoid confusion. We're going to take our time to make sure the XAML Simplifications (and XAML Source Generation) are solid, before we want to introduce this (as options) in the templates.
We also need to "back"port this to .NET 10