-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsproposal/underconsiderations/triagedIssue has been reviewedIssue has been reviewed
Milestone
Description
Description
Support aggregating an existing xmlns into a global one
This feature isn't supported in XLS, but it's possible to emulate this by sourcegenerating the equivalent XmlnsDefinitionAttributes
Limitation:
- the x: namespace can't be aggregated
- you can only aggregate into the global namespace
- global namespace scope the current project scope
(Public) API Changes
rename 2nd ctor parameter of XmlnsDefinitonAttribute from clrNamespace to target
Usage Scenarios
[assembly: XmlnsDefinition("http://schemas.microsoft.com/dotnet/maui/global", "http://schemas.microsoft.com/dotnet/2021/maui")]
Backward Compatibility
Support this with a source gen until XLS knows how to handle it
Difficulty
Low
Metadata
Metadata
Assignees
Labels
area-xamlXAML, CSS, Triggers, BehaviorsXAML, CSS, Triggers, Behaviorsproposal/underconsiderations/triagedIssue has been reviewedIssue has been reviewed