Skip to content

Map: document namespace conflict between Controls.Maps.Map and ApplicationModel.Map#3260

Merged
jfversluis merged 1 commit intodotnet:mainfrom
sheiksyedm:fix/map-namespace-conflict-3250
Mar 23, 2026
Merged

Map: document namespace conflict between Controls.Maps.Map and ApplicationModel.Map#3260
jfversluis merged 1 commit intodotnet:mainfrom
sheiksyedm:fix/map-namespace-conflict-3250

Conversation

@sheiksyedm
Copy link
Copy Markdown
Contributor

Add a note in the Map initialization section explaining the ambiguous reference compiler error (CS0104) that occurs when both Microsoft.Maui.Controls.Maps.Map and Microsoft.Maui.ApplicationModel.Map are in scope via implicit usings, and provide the namespace alias fix.

The Windows limitation (CommunityToolkit.Maui.Maps) was already documented in the existing [!IMPORTANT] callout at the top of the page, so no change was needed here.

Fixes #3250

…ationModel.Map

Add a note in the Map initialization section explaining the ambiguous
reference compiler error (CS0104) that occurs when both
Microsoft.Maui.Controls.Maps.Map and Microsoft.Maui.ApplicationModel.Map
are in scope via implicit usings, and provide the namespace alias fix.

Fixes dotnet#3250
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 7b77a92:

✅ Validation status: passed

File Status Preview URL Details
docs/user-interface/controls/map.md ✅Succeeded View (>=net-maui-8.0)

For more details, please refer to the build report.

Copy link
Copy Markdown
Member

@jfversluis jfversluis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great note, thank you!

@jfversluis jfversluis merged commit 9fac3ed into dotnet:main Mar 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map: document namespace conflict between Controls.Maps.Map and ApplicationModel.Map

2 participants