Share via


Visual Studio for Mac 17.0 Previews and .NET on Apple Silicon machines

Important

Visual Studio for Mac was retired on August 31, 2024 in accordance with Microsoft’s Modern Lifecycle Policy. While you can continue to work with Visual Studio for Mac, there are several other options for developers on Mac such as the preview version of the new C# Dev Kit extension for VS Code.

Learn more about support timelines and alternatives.

On Apple Silicon machines (also known as M1, M2, M3, or ARM) with older x64 SDKs installed, you'll need to remove all existing .NET installations in order to use the .NET 6 GA Arm64 SDK.

Note

This information is specific for Visual Studio for Mac 2022 Preview (17.0) versions. For information on this process for Visual Studio for Mac 2019 versions, see Visual Studio for Mac 8.10 and .NET on Apple Silicon machines for details.

Uninstall .NET from your machine:

Use this uninstall script to remove all existing .NET installations. Open Terminal and run the following:

sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/dotnet/sdk/main/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh)"
sudo rm -r /etc/dotnet

Install supported .NET SDKs

  1. Install the .NET 6 Arm64 SDK
  2. Restart Visual Studio for Mac for it to detect the new SDK installed.