[net11.0] Fix build errors: qualify handler types and resolve merge conflicts#32933
Merged
simonrozsival merged 2 commits intodev/simonrozsival/net10.0-use-element-handler-attributesfrom Dec 1, 2025
Conversation
…olve merge conflicts Co-authored-by: simonrozsival <374616+simonrozsival@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update built-in visual elements to use ElementHandlerAttribute
[net10.0] Fix build errors: qualify handler types and resolve merge conflicts
Dec 1, 2025
b49551b
into
dev/simonrozsival/net10.0-use-element-handler-attributes
1 check passed
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.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Follow-up to #28357 - converts built-in controls to use
[ElementHandler<THandler>]instead of DI registration.Build fixes in this commit:
Shell.cs / ShellItem.cs: Added
Handlers.namespace prefix forShellHandlerandShellItemHandlerreferences on WINDOWS/TIZEN platforms. These handlers live inMicrosoft.Maui.Controls.Handlersand require qualification when referenced fromMicrosoft.Maui.Controls.Microsoft.Maui.Controls.targets: Resolved merge conflicts - retained both
IsCssEnabledruntime feature option and incoming options from main (AreNamescopesSupported,EnableDiagnostics,EnableMauiAspire).Issues Fixed
Fixes build errors:
CS0246: The type or namespace name 'ShellHandler' could not be foundCS0246: The type or namespace name 'ShellItemHandler' could not be foundMSB4024: The imported project file could not be loaded(merge conflict markers in targets file)💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.