News

.NET MAUI Finally Replaces Xamarin in Visual Studio 2022 17.3 Preview 1

Late-arriving .NET MAUI has finally replaced Xamarin in Visual Studio 2022.

Specifically, .NET MAUI (.NET Multi-platform App UI) is now a project type among the five Desktop & Mobile options in Visual Studio 2022 17.3 Preview 1, replacing the Xamarin-based option.

.NET MAUI is described by Microsoft as the evolution of mobile-centric Xamarin.Forms because it adds support for creating desktop apps.

That evolution took a big step this week, although workloads are still in preview themselves in VS 2022 17.3 Preview 1, shipping hot on the heels of the General Availability release of v17.2. That's because .NET MAUI, originally planned to debut with .NET 6 last November, "slipped the schedule," with the dev team playing catch-up ever since in a series of previews and release candidates. Now in RC3 status, .NET MAUI is expected to hit GA later this month, perhaps during Microsoft's big Build developer conference set for May 24.

Now, .NET MAUI is featured atop the "What's New" items in Preview 1:

What's New in Visual Studio 2022 17.3 Preview 1
[Click on image for larger view.] What's New in Visual Studio 2022 17.3 Preview 1

The big news was revealed in the GA announcement of Visual Studio 2022 17.2, where Microsoft provided a sneak peek at the first v17.3 preview.

"Today we're also releasing the first preview of the next release, Visual Studio 2022 17.3 Preview 1," Microsoft said in the May 10 post. "This is the main preview build that provides the tooling support for .NET MAUI development using Visual Studio."

The preview can be installed side-by-side with the 17.2 GA release.

"The .NET MAUI team is excited to bring this unified platform experience of development to Visual Studio 2022 and thanks to all of you that have provided feedback as you've come along for the .NET MAUI journey with us and endured the initial setup scripts, workload updates, etc," Microsoft continued. "If you are developing for .NET MAUI, Visual Studio 2022 17.3 Preview 1 is the tool that you want to get today as well."

Although developers could build .NET MAUI apps in previous Visual Studio 2022 previews, it's now the official choice among Desktop & Mobile projects. In v17.2, those options included "Mobile development with .NET -- Build cross-platform applications for iOS, Android or Windows using Xamarin.":

Desktop & Mobile Options in Visual Studio 2022 17.2
[Click on image for larger view.] Desktop & Mobile Options in Visual Studio 2022 17.2

In VS 2022 17.3 Preview 1, those options now include ".NET Multi-Platform App UI Development -- Build Android, iOS, Windows, and Mac apps from a single codebase using C# with .NET MAUI.":

Desktop & Mobile Options in Visual Studio 2022 17.3 Preview 1
[Click on image for larger view.] Desktop & Mobile Options in Visual Studio 2022 17.3 Preview 1

However, as noted, the new option is still in preview (though .NET MAUI has been production ready with go-live support for a while now). Developers now have three options for using .NET MAUI: basic .NET MAUI App, .NET MAUI Blazor App and .NET MAUI Class Library:

.NET MAUI Options in Visual Studio 2022 17.3 Preview 1
[Click on image for larger view.] .NET MAUI Options in Visual Studio 2022 17.3 Preview 1

As depicted in a graphic above, other "What's New" items in Preview 1 include:

  • Show Tabs in Multiple Rows
  • Force Run to Cursor
  • All-in-one Search
  • Reopen Closed Documents

You can learn more about all of those and much more in the Preview 1 release notes.

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