Skip to content

Conversation

@github-actions
Copy link
Contributor

Backport of #29005 to release/9.0.1xx-sr5

/cc @mattleibow @BretJohnson

Use an explicit XML namespace for Component, avoiding use
qualified name syntax in the x:Type binding. Qualified names
(like `local:Components.Routes`) aren't currently supported by
XAML Hot Reload, producing the error
"Nested types are not supported: Components.Routes"
and causing XAML Hot Reload to not work. This support
is coming in a future VS update, but for now it's best to avoid
using of the qualified name syntax in our templates, to keep
things broadly compatible and working for new users. We
don't use qualified names in XAML bindings anywhere else
in MAUI XAML templates; this is the last occurrence.

Fixes #20669
@github-actions github-actions bot requested a review from a team as a code owner April 15, 2025 21:26
@rmarinho
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@PureWeen
Copy link
Member

@PureWeen PureWeen merged commit d35fff9 into release/9.0.1xx-sr5 Apr 16, 2025
5 of 7 checks passed
@PureWeen PureWeen deleted the backport/pr-29005-to-release/9.0.1xx-sr5 branch April 16, 2025 17:31
@github-project-automation github-project-automation bot moved this from Todo to Done in MAUI SDK Ongoing Apr 16, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants