xamarin-forms-migration
Installation
SKILL.md
Xamarin.Forms → .NET MAUI Migration
For project templates, namespace tables, API deprecation tables, and reference code, see references/forms-migration-api.md.
⚠️ Do not use the .NET Upgrade Assistant. Apply namespace renames, project file updates, and package replacements directly. Build after each batch of changes and use compiler errors to guide the next round of fixes.
Migration Workflow
- Create new .NET MAUI project (single-project — multi-project causes AOT/build errors)
- Copy cross-platform code + platform code into
Platforms/<platform>/ - Update namespaces (XAML + C# + Essentials — see
references/forms-migration-api.md) - Fix layout behavior changes (see below)
- Migrate renderers → handlers (not shimmed renderers)
- Migrate effects → behaviors
- Remove
Microsoft.Maui.Controls.Compatibilitypackage - Update NuGet dependencies
- Migrate app data stores
- Delete
bin//obj//Resource.designer.cs, build, test iteratively - Verify against .NET 10 deprecated API list
Related skills