How Microsoft planning to support Xamarin? Will we able to migrate existing Xamarin.iOS or Xamarin.Android project to MAUI?

huangapple go评论66阅读模式
英文:

How Microsoft planning to support Xamarin? Will we able to migrate existing Xamarin.iOS or Xamarin.Android project to MAUI?

问题

我刚刚得知微软将结束对Xamarin的支持,截止日期是2024年5月1日。他们不会发布任何新的重大更新,只会在2024年5月1日之前继续为他们的最后一个版本提供支持。而且他们将继续推出他们的新产品MAUI。

我的担忧是,我们能否将我们的Xamarin.iOS和Xamarin.Android项目迁移到MAUI,还是必须从头开始?

英文:

I just came to know that Microsoft ending support to Xamarin and 1st May 2024 is the last date. They won't release any new major updates and will just provide support to their last release till May 1, 2024. And they will continue with their new product MAUI.

My concern is that, can we migrate our Xamarin.iOS and Xamarin.Android projects to MAUI or do we have to start from scratch?

答案1

得分: 1

正如ewerspej所说,Xamarin.Android和Xamarin.IOS与.NET MAUI有很大的不同。

Microsoft将于2022年11月停止更新Xamarin,将仅使用.NET MAUI。您需要阅读MAUI文档并学习如何编写MAUI应用程序。Maui是跨平台的用户界面。这是您应用程序的新实现。将应用程序从Xamarin.Forms迁移到.NET MAUI不需要重写整个代码库。但您需要进行一些代码更改。

以下是有关如何从Xamarin迁移到MAUI的相关文章,您可以参考它们。

Migrating from Xamarin.Forms (Preview).

Xamarin.iOS项目 -> 现在是.NET MAUI iOS项目。

将Xamarin.Android应用程序迁移到.NET 6。

从Xamarin.Android迁移到.NET 7。

项目文件属性dotnet迁移。

英文:

As ewerspej said, Xamarin.Android and Xamarin.IOS are very different from .NET MAUI.

Microsoft will stop updating Xamarin by November 2022 and will use .NET MAUI only. You need to read the MAUI docs and learn how to write MAUI apps. Maui is a cross-platform UI. It’s a new implementation of your app. Moving applications from Xamarin.Forms to .Net MAUI does not require rewriting the entire codebase. But you need to undertake a few code changes.

And these are related articles about how to migrate from Xamarin to MAUI, you can refer to them.

Migrating from Xamarin.Forms (Preview).

Xamarin.iOS Project -> now .NET MAUI iOS Project.

Migrating Xamarin.Android Applications to.NET 6.

Migrating from Xamarin.Android to.NET 7.

Project file properties dotnet migration.

huangapple
  • 本文由 发表于 2023年1月9日 18:17:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/75055795.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定