Visual Studio 2022 for Mac Preview 6 fixes – Visual Studio Magazine
Visual Studio 2022 for Mac Preview 6 fixes
Last month’s Visual Studio 2022 for Mac v17.0 Preview 5 was a big deal – Mono runtime dump for .NET 6 – but it also introduced some issues, which the development team has addressed in the new Preview 6.
“The decision to run Visual Studio for Mac on the .NET 6 CLR is a critical investment that will allow us to take advantage of the latest innovations in .NET,” said Jordan Matthiesen, Senior Program Manager, Visual Studio for Mac, in a January 25 post announcing Preview 5. “One of the first benefits of moving from the Mono runtime to .NET 6 is the improved performance for multiple scenarios thanks to the new I/O implementation in .NET 6.”
In addition to Preview 5 seeing the IDE run on the .NET 6 CLR for the first time, it also provided native support for running on devices with the M1 (arm64) processor. Apple. After these two milestones, it was time for the development team to play repair.
This means addressing: known issues; most flagged comments; 13 major crash scenarios; Core Shell IDE quality improvements; .NET Core 3.1 development support on M1 devices.
A big known issue is Android Designer not working, solved by a workaround that requires using Visual Studio for Mac 8.10 to load and build Android projects, but that’s not the only one. The release notes state: “There are several bugs affecting Xamarin projects in VS for Mac 17.0 Preview 6. Therefore, we recommend using Visual Studio for Mac 2019 for all mobile projects. We are continuing to work on the quality improvement and hope to deliver Xamarin support in VS for Mac 17.0 soon.”
Work also continued on another milestone: converting the IDE’s user interface to native constructs, which is supposed to improve performance and reliability and provide better accessibility through better integration with macOS and its supporting technologies. built-in support.
“In this release, we’ve completed moving core functionality from the IDE to the native macOS UI,” said Jordan Matthiesen, Senior Program Manager, Visual Studio for Mac, in a Feb. 17 post announcing the release. preview 6. “You can read more about the benefits that come with this move in our Preview 1 blog post, which highlights our goal with Visual Studio 2022 for Mac: to create a modern .NET IDE suitable for the Mac that offers the productive experience you love in Visual Studio.
New UI code ported to the native macOS UI includes:
- Preferences screens: colors and fonts, keyboard shortcuts, debugger settings
- Git Stash dialog and Rebase dialog
- Edit Signature Quick Action Dialog
- Extension Manager
That leaves just a few preferences screens left to address in next month’s v17.0 update, after which the team will mainly tackle feedback issues, fixes and crashes and work on improving performance. .
IDE features planned for a future 17.1 release include:
- Regular expression editor
- Teardown view, hex editor
- task panel
- Convert/Export Solution Dialog
- Strategies Dialog
- Storing NuGet passwords per project
Matthiesen also provided updated VS for Mac support for the .NET Cross-Platform Application UI (.NET MAUI), called an evolution of Xamarin.Forms in that it can create desktop apps. .NET MAUI “slipped the schedule” and didn’t debut .NET 6 last November as planned.
“We’ve heard many questions from our community about when to expect .NET MAUI app support,” he said. “Once we complete Xamarin support (by Visual Studio for Mac 2022 GA), we will focus on creating an amazing experience for .NET MAUI developers. Currently building/deploying/deploying Basic debugging works, but we still need to bring in the tools you know and love from Xamarin, like XAML Hot Reload and Live Visual Tree.
“In addition to existing Xamarin features, we’re building new experiences for .NET MAUI that highlight the incredible developer productivity improvements it brings, such as multi-targeted single projects and .NET Hot Reload ( C#)! We will provide more updates on .NET MAUI support in Visual Studio for Mac as we get closer to the .NET MAUI GA at the end of Q2 2022.”
The link above from Matthiesen points to the .NET MAUI roadmap, which just a few days ago was supposed to be nearing full functionality.
David Ramel is an editor and writer for Converge360.