Visual Studio Icon Visual Studio 2022 for Mac version 17.4 Release Notes


Developer Community | System Requirements | Documentation | Blogs | Servicing |


Download


Visual Studio 2022 for Mac Releases

Visual Studio 2022 for Mac Blog Posts

The Visual Studio Blog is the official source of product insight from the Visual Studio Engineering Team. You can find in-depth information about the Visual Studio 2022 for Mac releases in the following posts:


17.4.0 Visual Studio 2022 for Mac v17.4 NewReleaseButton

17.4 build 2406 released November 8th, 2022

What's New in Visual Studio 2022 for Mac v17.4

Top updates in this release include:

  • We have updated the .NET SDKs to 7.0.100, 6.0.403 and 3.1.424.
  • We have enabled writing code in C#11.
  • We brought back dragging and dropping documents side by side.
  • Floating Documents support has been brought back to the IDE.
  • You can restart debugging with a single click.
  • We added the ability to change editor line spacing.
  • We added a new editor info, formatting, and line ending UI to the editor experience.
  • We made tactical improvements to the line numbers margin.
  • We brought back the Class tool window.
  • We added support for Azure Functions on .NET 7.
  • We added support to NavigateTo source generated documents.
  • We've added a Modules view to the debugger.
  • The Hex Editor has been brought back to the IDE.

Install Without Rosetta

Users can now install Visual Studio for Mac without needing to first enable Rosetta. This enables many to be able to do .NET development without the need to first enable Rosetta on M1-enabled Macs.

While the installer now supports installation on M1 without using Rosetta, some scenarios (especially for mobile development) still require Roseta to function due to limitations of dependencies such as Xcode. The installer will prompt when installing a component will require Rosetta if Rosetta is not already enabled.

Single Click to Restart Debugging

Customers have long asked for a convenient way to restart debugging their applications in Visual Studio. We've added a convenient feature, eabling you to restart with a single click. To use this, click on the new restart button on the toolbar (circular arrow icon) when debugging.

Debug toolbar with restart debugging icon.

New Editor Features

We've enabled users to write and diagnose their code in C#11. This includes all the new features of the language. You can read more about the great new features in C#11 in the online documentation.

Additionally, we've now included a new UI to enable you to quickly see the line number, column, space formatting, and line ending setting for source files. You can enable/disable this from Preferences > Text Editor > Markers and Rulers. You can also now increase the visual spacing between lines. You can access the line spacing through Preferences > Fonts.

Editor window showing new UI to see the line number, column, space formatting, and line ending settings for a source file.

MAUI & Xamarin - Cross-Platform Development

  • This release includes support for .NET MAUI! If you don't already have .NET MAUI installed, you will have to download the installer and select ".NET MAUI".
  • Once .NET MAUI is installed, you can find and create .NET MAUI apps from the templates
  • Build, deploy, and debug .NET MAUI apps on iOS, macOS, and Android
  • Use XAML Hot Reload to change your UI and see the changes reflected in your running app
  • Fixes an issue where an error is shown indicating the target "does not exist in the project" when trying to publish a MAUI app to the Apple App Store.
  • For .NET Android projects, when opening a layout .xml / .axml file the Android designer won't launch, with the default XML editor used instead. Xamarin.Android projects aren't affected, just .NET6 / .NET7 Android projects.
  • Developing MAUI apps in VS for Mac no longer requires the installation of the Traditional Xamarin.iOS SDK.
  • This release fixes bug in HotReload for MacCatalyst that resulted in an exception like System.IO.FileNotFoundException: Could not find file '/Users/user/Projects/SolutionName/ProjectName/bin/Debug/net6.0-maccatalyst/maccatalyst-x64/AppName.app/AppName.dll'.
  • Fixed Hot Reloading of XAML changes to iOS devices during a debug session.
  • We added support for MAUI archiving and publishing.
  • We improved the integration with Xcode.
  • You can add/edit project properties and run configurations
  • You can create/edit bindings for iOS projects
  • Fixed an issue where Configuration and Platform options were displayed incorrectly under iOS IPA options.
  • Fixed an issue that prevented the Toolbox from loading with MAUI projects.
  • This release includes support for .NET 7.0 GA MAUI, Android, iOS and related workloads.

Top Fixes in This Release

  • We fixed an issue where dragging and dropping a single floating document made the document disappear without the ability to reopen it.
  • Fixed an issue where it was possible to set an empty or invalid project name in project options.
  • Fixed a crash while typing in Razor files.
  • Fixed a problem where projects would not be displayed in the All tab in the Add References dialog.
  • Fixes issue where IDE could get stuck on the "Could not connect to the debugger" message box
  • Fixed an issue where the escape (esc) key would not close some dialogs

From Developer Community

Known Issues

The following is a list of all existing known issues in Visual Studio 2022 for Mac version 17.4