Visual Studio 2022 for Mac Preview Brings Back Xamarin Support

Visual Studio 2022 for Mac keeps trudging along toward general availability several months behind its Windows cousin, with the latest preview introducing new Azure Functions V4 tooling and reintroducing Xamarin mobile tooling.

Those features come in Preview 7 as the dev team switches to a quality cycle after huge efforts to go fully native on the IDE's UI, run natively on M1 (ARM 64) chips, migrate from the Mono runtime to .NET 6 and more.

Last month's Preview 6 completed moving mainline features of the IDE to native macOS UI, and this month's update ported the remaining preference screens: C# Code Formatting; Snippets; Behavior panels for CSS, HTML, and JSON; and External Tools.

The newly ported Code Formatting dialog in Visual Studio for Mac preferences.
[Click on image for larger view.] The Newly Ported Code Formatting Dialog in Visual Studio for Mac Preferences. (source: Microsoft).

Part of that aforementioned quality focus in this release concerns Xamarin, which in last month's Preview 6 was put on hold. Release notes said: "There are several bugs affecting Xamarin projects in VS for Mac 17.0 Preview 6. Hence, we recommend the use of Visual Studio for Mac 2019 for all mobile projects. We continue to work on improving quality and expect to deliver Xamarin support in VS for Mac 17.0 soon."

"Soon" ended up being the very next preview, with yesterday's announcement post saying: "In this release, we're once again ready to get your feedback on the Xamarin mobile tooling in Visual Studio for Mac. Previously, in the Visual Studio 2022 for Mac Preview 6 release, we made the tough call that Xamarin tooling wasn't ready for feedback while we were addressing known issues."

That meant fixing almost 50 mobile workload bugs, including problems with starting up Android emulators.

Among the new features is support for serverless app development on .NET 6 using Azure Functions V4. .NET 6 support was a highlight of the Azure Functions fall update.

"Adding support for Azure Functions V4 also enables Azure Functions development on M1 (arm64)-based processors, which required the arm64 .NET 6 SDK," yesterday's announcement said. "In this release you can use Azure Functions V4 on Intel or M1-based machines. Azure Functions V2 & V3 projects can be opened and developed on Intel-based processors; support for creating V2 or V3 projects on Intel devices will return in an upcoming preview release."

More details on all of the above and more are presented in the release notes.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • What's Next for ASP.NET Core and Blazor

    Since its inception as an intriguing experiment in leveraging WebAssembly to enable dynamic web development with C#, Blazor has evolved into a mature, fully featured framework. Integral to the ASP.NET Core ecosystem, Blazor offers developers a unique combination of server-side rendering and rich client-side interactivity.

  • Nearest Centroid Classification for Numeric Data Using C#

    Here's a complete end-to-end demo of what Dr. James McCaffrey of Microsoft Research says is arguably the simplest possible classification technique.

  • .NET MAUI in VS Code Goes GA

    Visual Studio Code's .NET MAUI workload, which evolves the former Xamarin.Forms mobile-centric framework by adding support for creating desktop applications, has reached general availability.

  • Visual Studio Devs Quick to Sound Off on Automatic Updates: 'Please No'

    A five-year-old Visual Studio feature request for automatic IDE updates is finally getting enacted by Microsoft amid a lot of initial developer pushback, seemingly misplaced.

  • First Official OpenAI Library for .NET Goes Beta

    Although it seems Microsoft and OpenAI have been deeply intertwined partners for a long time, they are only now getting around to releasing an official OpenAI library for .NET developers, joining existing community libraries.

Subscribe on YouTube