News

Visual Studio 2022 17.3 Preview 2 Is First Native Arm64 Release

As promised at the recent Build developer conference, Visual Studio 2022 17.3 Preview 2 is now available as a native Arm64 application on Windows 11.

"We have been steadily building momentum to support our Arm64 developer community, which includes hardware, toolchain, and of course, Visual Studio," Microsoft said during Build. "The Arm64 Visual Studio preview will be publicly available for everyone in the next few weeks."

Typically, the Arm architecture is used to build CPUs for low-power mobile devices, increasingly being used instead of x86-based architectures in larger devices. Arm64 is an extension -- or evolution -- of the ARM architecture that supports 64-bit processing, and Visual Studio 2022 is 64-bit software.

Visual Studio 2022 v17.3
[Click on image for larger view.] Visual Studio 2022 v17.3 (source: Microsoft).

"This will be the first version of Visual Studio that will natively support building and debugging Arm64 apps on Arm-based processors," said Microsoft's Mark Downie, a senior program manager for the VS team, in June 14 announcement post. "Our key goal with this preview is to introduce and stabilize the most popular Workloads used by developers who are building apps that run on Arm64, and to gather feedback from the community to help us prioritize additional experiences and Workloads as we work toward General Availability (GA) later this year."

With this initial preview launch, enabled workloads include:

  • Desktop development with C++ (for MSBuild-based projects)
  • .NET desktop development (WinForms, WPF) using both .NET Framework, and modern .NET.
  • NET and Web development

Those workloads are expected to reach GA status by year's end as Microsoft pursues its overarching goal to prioritize tools and features to run natively whenever possible and to use emulation only where necessary.

While native C++ developers have been able to target Arm64 for some time, and .NET 6 has always had native Arm64 support, that has been extended to include the old, proprietary, Windows-only .NET Framework, specifically the .NET Framework 4.8.1 runtime and SDK. The .NET Framework will live on in the next major update to Windows 11 and will in the future become available for previous OS versions.

"While this first preview will include Windows Forms, WPF and Web apps, support for Windows App SDK, .NET MAUI, and Universal Windows Platform (UWP) will be available in subsequent previews," Microsoft said.

Those aforementioned native C++ developers will also benefit, as compilers would previously run in an emulated mode when running directly on Arm64 devices. "With today's release, you get access to the new native Arm64 MSVC compiler toolset, including its C++ Code Analysis capabilities, while still targeting all platforms currently supported by MSVC," Microsoft said.

Arm64 developers building WinForms, WPF and native apps can get started by:

  • Ensuring they have an Arm64 device with Windows 11
  • Uninstalling any prior versions of Visual Studio 2022 from a Arm64 device
  • Downloading and installing Visual Studio 2022 17.3 preview 2

Downie noted that Microsoft, at Build, announced Project Volterra to "enable developers to take advantage of the powerful integrated neural processing unit (NPU) to build apps that execute local AI-accelerated workloads." At the time, Microsoft said of Volterra, "As an Arm-powered device powered by the Snapdragon compute platform, it will enable Windows developers to build, test and debug Arm-native apps alongside all their favorite productivity tools, including Visual Studio, Windows Terminal, WSL, VSCode, Microsoft Office and Teams."

This week, Downie alluded to Volterra: "We're thrilled to join our Windows, .NET, and C++ partners in building a vibrant Arm64 developer toolchain. Today we deliver the latest version of Visual Studio that significantly reduces the dependence on x64 emulation. While the capabilities of the x64 emulator have expanded, we know that the very best Arm developer experiences will be supported by tools that run natively on Arm64."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube