Skip to content

Global xmlns in template #28846

@StephaneDelcroix

Description

@StephaneDelcroix

Description

Add a GlobalXmlns.cs in the maui template for users to start filling clr-namespaces in the global namespace

depending on the choice made in #28843 and the uri we pick for the global xmlns, the GlobalXmlns.cs could look like

// some comments about the global xmlns, what's already in it, how to opt-out the implicit (see #28847 )
[assembly: XmlnsDefinition("http://schemas.microsoft.com/dotnet/maui/global", "[default app clr-namespace]")]

// commented out examples on how to add more clr-namespaces and other xmlns

Public API Changes

none

Intended Use-Case

/

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions