Migration docs from Xamarin to .NET 6 Mobile #9530
Replies: 2 comments 4 replies
-
We do not have documentation on migrating to .NET 6 mobile from Xamarin yet. The only guidance we suggest for now is to create a separate solution, then replace the projects in your solution while moving to WinAppSDK/WinUI 3 namespaces. Now, your scenario is about maintaining both Xamarin and If you need an example of app that uses a similar two-faceted solution, take a look at the Uno.Gallery project, where both Xamarin and "Mobile" heads are present. |
Beta Was this translation helpful? Give feedback.
-
Thanks for answering, I realize I should have phrased my question less ambiguous:
The natural approach would be to just create a new project with the .NET 6 template and merge all the files into it, but since MAUI uses a single project approach and Uno combined mobile platforms into one as well the project-files look very different. Microsoft provides minimal information on how to achieve this sort of migration: to .NET6-ios, to .NET6-droid (for example, I did most of what was listed there for iOS, but whatever becomes of I was hoping that maybe Uno has been considering this and made some sort of guidance. |
Beta Was this translation helpful? Give feedback.
-
Question from AGR on Discord:
Hello, is there ANY sort of migration guide regarding transition from .NET 5/Xamarin.iOS/Xamarin.Android towards .NET 6/.NET6-iOS/.NET6-Android? Manually tampering with the project dependencies is giving me an absolute headache, especially on windows with the confusing dependency trees throughout the WindowsSDK, .NET and the CSWinRT. I'd just create a new empty solution targeting .NET 6 and WinUI, but I'd like to maintain the legacy project structure with seperate heads.
If someone happens to have an overview/csproj files that work in this regard it would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions