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


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


Download


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

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-pre.2.1 Visual Studio 2022 for Mac v17.4 Preview 2.1 NewReleaseButton

17.4 Preview 2.1 build 1583 released September 20th, 2022

Top updates in this release include:

  • Support for .NET 7.0 RC1 MAUI, Android, iOS and related workloads.
  • Fixes for bugs in HotReload for Mac Catalyst that was throwing System.IO.FileNotFoundException: Could not find file '/Users/user/Projects/SolutionName/ProjectName/bin/Debug/net6.0-maccatalyst/maccatalyst-x64/AppName.app/AppName.dll'. exceptions.
  • Fixes an issue where inline rename operations would fail and subsequent refactoring operations would be unstable.

17.4.0-pre.2 Visual Studio 2022 for Mac v17.4 Preview 2

17.4 Preview 2 build 1552 released September 14th, 2022

Top updates in this release include:

  • The installer now fully enables installation without Rosetta on M1-based Macs.
  • We have updated the .NET SDKs to 6.0.401.
  • We have enabled writing code in C#11.
  • We brought back dragging and dropping documents side by side.
  • 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 margain.
  • We brought back the Class tool window.
  • 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

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.


17.4.0-pre.1 Visual Studio 2022 for Mac v17.4 Preview 1

17.4 Preview 1 build 715 released August 9th, 2022

Top updates in this release include:

  • We have updated the .NET SDKs to 6.0.400 and 3.1.422.
  • We added support for Azure Functions on .NET 7.
  • Floating Documents support has been brought back into the IDE
  • We added support to NavigateTo source generated documents.
  • We've added a new Modules view to the debugger.
  • The Hex Editor was ported to native code.

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 redownload the Preview 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
  • Added support for .NET 7 Preview releases.
  • Added initial support for .NET MAUI projects.

Known Issues

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

  • Tooling for .NET MAUI development is dependent on the legacy Xamarin SDKs. Please make sure to also select the individual Xamarin SDKs when selecting the MAUI workload in the installer.