Upgrade from Xamarin to .NET
Xamarin projects can run on .NET, starting with .NET 6, after completing an upgrade process. This series of articles describe the process for migrating your Xamarin projects to .NET.
Important
To migrate an app from Xamarin to .NET:
- All projects do need to become SDK-style.
- Projects don't need to be rewritten.
- Multi-project solutions don't need to become a multi-targeted single project.
To upgrade your Xamarin native projects to .NET, you'll first have to update the projects to be SDK-style projects and then update your dependencies to .NET 6+. For more information, see Upgrade Xamarin.Android, Xamarin.iOS, and Xamarin.Mac apps to .NET.
The .NET Upgrade Assistant is a command-line tool that can help you upgrade Xamarin.Forms projects to .NET Multi-platform App UI (.NET MAUI). After running the tool, in most cases the app will require additional effort to complete the migration. For more information, see Upgrade a Xamarin.Forms app to .NET MAUI with the .NET Upgrade Assistant.
Alternatively, you can manually upgrade a Xamarin.Forms project to .NET MAUI with a two-step process:
- Upgrade your Xamarin native projects, in your Xamarin.Forms solution, to .NET. For more information, see Upgrade Xamarin.Android, Xamarin.iOS, and Xamarin.Mac apps to .NET.
- Upgrade your Xamarin.Forms library project to .NET Multi-platform App UI (.NET MAUI). For more information, see Manually upgrade a Xamarin.Forms app to .NET MAUI.
Feedback
Submit and view feedback for