Skip to content

Update "Mono for Android" references to ".NET for Android" in error messages and user-facing text #10282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 11, 2025

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 11, 2025

This PR addresses the issue of outdated "Mono for Android" product name references appearing in error messages and user-facing text throughout the codebase. The product is now called ".NET for Android" and all user-facing references should reflect the current naming.

Changes Made

  • Error Messages: Updated the XA2002_Framework error message from "Perhaps it doesn't exist in the Mono for Android profile?" to "Perhaps it doesn't exist in the .NET for Android profile?"
  • Localized Resources: Updated all localized versions of error messages across 14 languages (Czech, German, Spanish, French, Italian, Japanese, Korean, Polish, Portuguese-Brazil, Russian, Turkish, Chinese-Simplified, Chinese-Traditional)
  • Source Code: Updated exception messages and API documentation text in:
    • CallbackCode.cs - Exception message for JNIEnv compatibility issues
    • GetAppSettingsDirectory.cs - Directory path and comments
    • javadoc-to-mdoc.cs - API documentation generation
  • Build Files: Updated MSBuild targets comments
  • Tests: Updated registry key paths in test files
  • Documentation: Updated user-facing documentation

Verification

  • ✅ 35 of 36 "Mono for Android" references successfully updated
  • ✅ 1 remaining reference preserved in historical documentation (appropriate)
  • ✅ All user-facing error messages now display current product name
  • ✅ 27 files updated across the codebase
  • ✅ Changes are surgical and precise - only product name updates

The only remaining "Mono for Android" reference is in Documentation/project-docs/ApkSharedLibraries.md, which appropriately documents the historical evolution from "Mono for Android" through "Xamarin.Android" to the current ".NET for Android".

Fixes #8574.


💡 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.

@Copilot Copilot AI changed the title [WIP] Expunge "Mono for Android" from error messages Update "Mono for Android" references to ".NET for Android" in error messages and user-facing text Jul 11, 2025
@Copilot Copilot AI requested a review from jonathanpeppers July 11, 2025 14:10
Copilot finished work on behalf of jonathanpeppers July 11, 2025 14:10
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

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

Other bots & build integrations update some of the files you changed.

  • Undo the changes to all *.lcl files
  • Undo the changes to all *.resx files except the main "English" one
  • Update .github/copilot-instructions.md to follow these rules for next time

Copy link
Contributor Author

Copilot AI commented Jul 11, 2025

Other bots & build integrations update some of the files you changed.

  • Undo the changes to all *.lcl files
    ...

Done! I've reverted all *.lcl files and non-English *.resx files as requested, keeping only the main English Resources.resx file with the updated product name. I've also updated .github/copilot-instructions.md with guidelines to avoid modifying auto-managed localization files in the future. The changes are in commit 900fb7e.

@Copilot Copilot AI requested a review from jonathanpeppers July 11, 2025 15:38
Copilot finished work on behalf of jonathanpeppers July 11, 2025 15:38
@jonathanpeppers jonathanpeppers marked this pull request as ready for review July 11, 2025 15:43
@Copilot Copilot AI requested a review from jonathanpeppers July 11, 2025 16:10
Copilot finished work on behalf of jonathanpeppers July 11, 2025 16:10
@jonathanpeppers jonathanpeppers enabled auto-merge (squash) July 11, 2025 16:21
@jonathanpeppers jonathanpeppers merged commit a1833bb into main Jul 11, 2025
59 checks passed
@jonathanpeppers jonathanpeppers deleted the copilot/fix-8574 branch July 11, 2025 18:49
@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expunge "Mono for Android" from error messages
2 participants