News

New Xamarin.Forms 5 Drops Visual Studio 2017 Support

Microsoft announced Xamarin.Forms 5.0, a major release chock full of new functionality and features, but no official support for Visual Studio 2017.

"Updates to Android and iOS are only delivered to Visual Studio 2019, and these are fundamental for getting the latest platform security fixes features required by Apple and Google. Before updating to Xamarin.Forms 5, install Visual Studio 2019," Microsoft says in the release notes for Xamarin.Forms 5, which was officially announced Thursday (Jan. 7).

As far as all of the new features, deleted features and changed features, there are too many to list here, but said David Ortinau, principal program manager, Mobile Developer Tools, summarized the release thusly: "This major release delivers hundreds of quality improvements and brings to stable release new features including App Themes, Brushes, CarouselView, RadioButton, Shapes and Paths, and SwipeView."

Major themes mentioned in the release notes include:

  • MasterDetailPage Renamed: MasterDetailPage has been renamed to FlyoutPage.
  • RadioButton Changes: RadioButton now supports setting any content and using control templates.
  • UIWebView Removed: UIWebView has been completely removed. Since March, Apple has been warning that usage of this control was deprecated and apps would be rejected beginning later in the year.
  • C# UI, Expander, and MediaElement Moved: These experimental features have been (or will be soon) migrated to the Xamarin Community Toolkit which everyone should be taking full advantage of.
  • DataPages and Themes Packages Removed: In Xamarin.Forms 2, before joining Microsoft, we prototyped some interesting ways to build data driven UIs. These experiments were shipped as preview packages called DataPages and Themes. Since then, we have continued shipping the packages, but no work or customer interest has grown around them. Instead, features such as App Themes are much easier to use and implement dark and light mode, as well as general theme support using dynamic styles. As of Xamarin.Forms 5, we will no longer be building and shipping these packages.
  • XFCorePostProcessor.Tasks Removed: This project injects IL to maintain XF 2.5 compatibility. We're far enough away from XF 2.5 now that this weaving should no longer be necessary.

The Xamarin.Forms Feature Roadmap shows the dev team in this release was "Continuing stabilization with a focus on the preview features behind the 'experimental' flag," which are depicted this this graphic, which also shows additional and ongoing initiatives:

Xamarin.Forms 5 Feature Roadmap
[Click on image for larger view.] Xamarin.Forms 5 Feature Roadmap (source: Microsoft).

Note that one of those ongoing initiatives is readiness for .NET 6, a huge, unifying-everything-.NET release that is scheduled for November. Along with .NET 6, Xamarin.Forms will evolve into .NET MAUI (NET Multi-platform App UI)), which adds desktop development to the cross-platform framework that hereto has focused on mobile iOS and Android development.

MAUI (.NET Multi-platform App UI)
[Click on image for larger view.] MAUI (.NET Multi-platform App UI)(source: Microsoft).

"Xamarin.Forms 5.0 will continue to receive service releases through November 2022," Ortinau said. ".NET MAUI will be the next major feature release with previews of .NET 6 shipping early this year. Xamarin.Forms 5.0 apps will migrate to .NET 6 and upgrade directly to .NET MAUI. We look forward to continuing this evolution with you in 2021!"

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube