News

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 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