Develop Windows applications with WinUI3 on Windows on Arm
Introduction
Creating an application
Comparing the performance on various platforms
Next Steps
Develop Windows applications with WinUI3 on Windows on Arm
Who is this for?
This learning path is for developers who want to learn how to create cross-platform applications and leverage performance improvements on Arm64.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Create and build a Windows UI Library (WinUI) application
- Measure code execution performance on Arm64
Prerequisites
Before starting, you will need the following:
- A Windows on Arm computer such as the Lenovo Thinkpad X13s running Windows 11 or a Windows on Arm virtual machine .
- Visual Studio 2022 with .NET desktop development and Universal Windows Platform development installed.
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll create a WinUI 3 application in Visual Studio on Windows on Arm and build it in Release for x64 and Arm64. First, you’ll select each architecture, launch
Arm64.WinUIApp (Package), and run its matrix multiplication workload. Then, you’ll capture the reported computation times, compare the architectures, and understand how build and launch settings affect execution.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Set Configuration to Release. Select the architecture (x64 or ARM64) in the dropdowns, then choose
Arm64.WinUIApp (Package) as the startup item.Change the architecture in Visual Studio’s dropdown from x64 to ARM64 (or vice versa), ensure Release is selected, and run the app again. Record the computation time shown by the app for each run.
No code changes are required for the comparison. Use the same project and switch the architecture in Visual Studio’s configuration.
Use the application’s matrix multiplication feature and note the computation time it displays. Compare the displayed times between the x64 and ARM64 runs.
Confirm you’re using a Windows on Arm device or a supported Windows on Arm virtual machine and that the required Visual Studio workloads from the prerequisites are installed.