Microsoft previews Visual Studio 2022 for Mac, but why bother when VS Code runs just fine on Apple hardware?

.NET works in mysterious ways


Microsoft has pushed out another preview of Visual Studio 2022 for Mac, stating that it provides a "truly native macOS experience."

The Mac version, like its Windows cousin, is needed for developing with the new .NET 6.0 SDK with C# 10, F# 6.0, and so on. As such, it is late.

"We plan to release the GA version of Visual Studio 2022 for Mac v17.0 in the first half of 2022," said program manager Jordan Matthiesen in a blog post. He attributed the delay to the fact that "this is a major architectural change," the change being more native code in the user interface.

In a presentation at yesterday's virtual VS 2022 launch, Matthiesen spoke about "a cross-platform toolkit that we used to use… that could lead to some experiences that didn't feel quite Mac-like, like tabs feeling off or just little controls that didn't feel quite right."

The framework in question, we think, is mono/xwt, which wraps either the Mac's Cocoa API or Gtk (GNOME Toolkit) via Gtk# (C# bindings) – a fact that hints at some of the history behind this IDE.

Its roots date back to almost the earliest days of .NET, when in 2000 developer Michael Kruger decided to create an IDE for .NET Framework 1.0 using .NET itself. He called his project SharpDevelop. It originally used Windows Forms, so was Windows only, but was adapted for Mono and Gtk#, to become the cross-platform MonoDevelop on Windows, Mac, and Linux.

MonoDevelop was taken up by Miguel de Icaza's Xamarin team, who also created a commercial version called Xamarin Studio. After the acquisition of Xamarin by Microsoft in early 2016, Xamarin Studio evolved into Visual Studio for the Mac, first released at the Build event in early 2017. Unlike Xamarin Studio, VS Mac is Mac-only and is now a closed-source IDE.

The Mono framework remains a core part of VS Mac

The Mono framework remains a core part of Visual Studio Mac

Name aside, the original VS Mac was quite unlike Visual Studio on Windows, though Microsoft has made some effort to unify the two. 2019 brought major architectural change, with Microsoft explaining at the time that "the code editor in Visual studio for Mac has been completely replaced with a new editor built on a shared core with Visual Studio on Windows, and with native macOS UI."

The new release is a continuation and perhaps completion of that work, though when we installed the new VS 2022 Preview 3 for the Mac we noted that one of the first things downloaded is the Mono Framework, still used by Xamarin and its new variant MAUI (multi-platform App UI). That said, MAUI support is not yet in this build, another clue showing how far this is from being production-ready. The release notes state: "This release is not 'go-live' and not intended for use on production computers or for creating production code."

Install options for Visual Studio 2022 for the Mac

Install options for Visual Studio 2022 for the Mac

What is VS Mac good for? Matthiesen said there are "three major types of projects you can work on," these being .NET Web applications, mobile applications using Xamarin, and game development scripts for Unity. The installer offers .NET, Android, iOS, and macOS as options.

The key question: why is Microsoft bothering with VS Mac when it has a more capable editor and IDE that, unlike VS Mac, is already widely used by developers? This is Visual Studio Code, by most estimates the most popular coding tool out there.

On Windows, the existence of Visual Studio alongside VS Code makes perfect sense. Visual Studio is the native IDE for the operating system and supports C++ as well as .NET languages; it occupies a similar position to that of Xcode on the Mac. Despite some efforts at convergence, VS Mac remains quite unlike Visual Studio on Windows, which has a narrower purpose. It is still needed for Xamarin development, but for web development with ASP.NET Core VS Code is arguably superior, thanks to its native JavaScript tools. It is notable that the documentation for ASP.NET Razor pages, for example, offers tutorials for Visual Studio Windows, VS Code, and for VS Mac, which states: "We hope to have Visual Studio for Mac instructions soon."

The problem may be related to some internal disquiet at Microsoft concerning the free VS Code competing with Visual Studio. A recent issue over the Hot Reload feature saw an attempt, soon reversed, to reserve it for Visual Studio.

If there were no VS Mac, Microsoft would have to invest more in the open-source tooling for .NET in VS Code, as well as adding MAUI support. That would be an excellent move for the .NET platform, but might not play well with the idea of keeping Visual Studio as the premium offering.

We hear rumours that the .NET team is actively discouraged from investing too much time in .NET tools for VS Code, and while that remains true, VS Mac will continue to be needed, despite being a niche tool compared to either of its relatives. ®


Other stories you might like

  • Meg Whitman – former HP and eBay CEO – nominated as US ambassador to Kenya

    Donated $110K to Democrats in recent years

    United States president Joe Biden has announced his intention to nominate former HPE and eBay CEO Meg Whitman as Ambassador Extraordinary and Plenipotentiary to the Republic of Kenya.

    The Biden administration's announcement of the planned nomination reminds us that Whitman has served as CEO of eBay, Hewlett Packard Enterprise, and Quibi. Whitman also serves on the boards of Procter & Gamble, and General Motors.

    The announcement doesn't remind readers that Whitman has form as a Republican politician – she ran for governor of California in 2010, then backed the GOP's Mitt Romney in his 2008 and 2012 bids for the presidency. She later switched political allegiance and backed the presidential campaigns of both Hillary Clinton and Joe Biden.

    Continue reading
  • Ex-Qualcomm Snapdragon chief turns CEO at AI chip startup MemryX

    Meet the new boss

    A former executive leading Qualcomm's Snapdragon computing platforms has departed the company to become CEO at an AI chip startup.

    Keith Kressin will lead product commercialization for MemryX, which was founded in 2019 and makes memory-intensive AI chiplets.

    The company is now out of stealth mode and will soon commercially ship its AI chips to non-tech customers. The company was testing early generations of its chips with industries including auto and robotics.

    Continue reading
  • Aircraft can't land safely due to interference with upcoming 5G C-band broadband service

    Expect flight delays and diversions, US Federal Aviation Administation warns

    The new 5G C-band wireless broadband service expected to rollout on 5 January 2022 in the US will disrupt local radio signals and make it difficult for airplanes to land safely in harsh weather conditions, according to the Federal Aviation Administration.

    Pilots rely on radio altimeter readings to figure out when and where an aircraft should carry out a series of operations to prepare for touchdown. But the upcoming 5G C-band service beaming from cell towers threatens to interfere with these signals, the FAA warned in two reports.

    Flights may have to be delayed or restricted at certain airports as the new broadband service comes into effect next year. The change could affect some 6,834 airplanes and 1,828 helicopters. The cost to operators is expected to be $580,890.

    Continue reading

Biting the hand that feeds IT © 1998–2021