Skip to content

Conversation

@MikeMcC399
Copy link
Contributor

@MikeMcC399 MikeMcC399 commented Feb 3, 2026

Current situation

BUILDING > Windows > Option 2: Automated install with WinGet contains instructions to install Node.js build prerequisites using predefined .configurations for Visual Studio 2022 on Windows:

Edition Configuration
Community configuration.dsc.yaml
Professional configuration.vsProfessional.dsc.yaml
Enterprise configuration.vsEnterprise.dsc.yaml

Compared to both the sections Option 1: Manual install and Option 3: Automated install with Boxstarter, a WinGet configuration for the Visual Studio 2022 Build Tools Edition for Option 2 is missing. The documentation is also slightly misleading, since it lists "Visual Studio 2022 Build Tools" as being installed, although this edition is not installed.

Change

  • Add a Build Tools 2022 Edition configuration to the .configurations directory:

    Edition Configuration
    Build Tools configuration.vsBuildTools.dsc.yaml

    The required Desktop develop development with C++ workload has ID: Microsoft.VisualStudio.Workload.VCTools, differing from other editions such as the Community Edition which uses instead ID: Microsoft.VisualStudio.Workload.NativeDesktop.

  • Align workload naming to the Visual Studio Installer UI and documentation, changing "Visual C++" to "Desktop development with C++" workload.

  • Use relative links to ensure the document points to its own branch and not just the main branch

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/build
  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. labels Feb 3, 2026
@MikeMcC399 MikeMcC399 force-pushed the visual-studio-2022-winget-add-build-tools branch from 2156d16 to 77cc845 Compare February 3, 2026 12:26
@MikeMcC399
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants