Hello,
I want to know what's the quickest and most effective way to migrate my project to the latest support architecture?
Your projects are Xamarin native projects (iOS, MacOS), you can upgrade them manually. (.NET Upgrade Assistant is currently only available for Windows, and only works with Xamarin.Forms projects.) .
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+.
and what's the latest support architecture?
.NET MAUI apps can be written for iOS 11 or higher, using the latest release of Xcode, macOS 10.15 or higher, using Mac Catalyst. Developing MAUI apps requires Visual Studio 2022 17.3 or greater, or Visual Studio 2022 for Mac 17.4 or greater. In addition, the project can target for .NET 6 or .NET 7. (.NET8 support in progress)
Can you give me some document description and sample code to speed up my development.
You can refer to the following docs:
Upgrade Xamarin.Android, Xamarin.iOS, and Xamarin.Mac projects to .NET - .NET MAUI | Microsoft Learn( When you create a new project for .NET MAC, you can select MacCatalyst or MacOS Application template. It's recommended that you choose MacOS Application template because your Xamarin.Mac application is a Cocoa App, and some features in AppKit are not supported in Maccatalyst )
Xamarin.iOS project migration - .NET MAUI | Microsoft Learn
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.