microsoft / microsoft/winget-cli

Visual Studio workloads do not work on ARM64

Open
#5,314 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Configure Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

I created a config file and added workloads.
Works fine on Windows 11 amd64. But when I run on ARM64 it errors.

VSComponents [Microsoft.VisualStudio.Workload.Universal]
The configuration unit failed while attempting to apply the desired state.
Visual Studio Installer failed with error code 1 using arguments: modify --productId Microsoft.VisualStudio.Workload.Universal --channelId VisualStudio.17.Release --quiet --norestart --activityId VisualStudioDSC-ca5d9177-cdf1-4ae3-9e89-8c637896a211 --add Microsoft.VisualStudio.Workload.Universal

Steps to reproduce

Use ARM64 Machine
Run configuration as Admin on this file: https://github.com/KevinLaMS/KevinLaProjects/blob/main/DSC/devimage/WindowsDeveloperMachine.winget

WinGetCOM-2025-03-20-09-53-17.750.log
WinGet-2025-03-20-09-53-08.995.log

Expected behavior

Should just work. Please note. VS installs work just fine from the UI.

Actual behavior

VSComponents [Microsoft.VisualStudio.Workload.Universal]
The configuration unit failed while attempting to apply the desired state.
Visual Studio Installer failed with error code 1 using arguments: modify --productId Microsoft.VisualStudio.Workload.Universal --channelId VisualStudio.17.Release --quiet --norestart --activityId VisualStudioDSC-ca5d9177-cdf1-4ae3-9e89-8c637896a211 --add Microsoft.VisualStudio.Workload.Universal

Environment
PS C:\Users\kevinla> winget --info
Windows Package Manager (Preview) v1.11.200-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.3476
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.26.200.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked WindowsDeveloperMachine.winget configuration and the attached WinGetCOM and WinGet logs, then reproduce the Visual Studio workload installation on an ARM64 machine. Done means the configuration applies Microsoft.VisualStudio.Workload.Universal successfully on ARM64, matching the existing UI installation behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.