doc: support toolchain Visual Studio 2022 & 2026 + Windows 10 & 11 SDK#61864
doc: support toolchain Visual Studio 2022 & 2026 + Windows 10 & 11 SDK#61864MikeMcC399 wants to merge 2 commits intonodejs:mainfrom
Conversation
|
Review requested:
|
This comment was marked as resolved.
This comment was marked as resolved.
|
For the Windows SDK: Note that the Windows 10 SDK (10.0.19041.0) is out of support since 2025-10-14.
The Windows 11 SDK "can target Windows 11, version 25H2, in addition to previous Windows releases." Windows 10 SDK should be removed from the Node.js supported toolchain in a separate semver-major PR. (Deadline 2026-03-22 for 26.x) |
This comment was marked as resolved.
This comment was marked as resolved.
Commit Queue failed- Loading data for nodejs/node/pull/61864 β Done loading data for nodejs/node/pull/61864 ----------------------------------- PR info ------------------------------------ Title doc: support toolchain Visual Studio 2022 & 2026 + Windows 10 & 11 SDK (#61864) β Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch MikeMcC399:windows-supported-toolchain -> nodejs:main Labels doc, windows, build, author ready Commits 2 - doc: support toolchain Visual Studio 2022 & 2026 + Windows 11 SDK - add back Windows 10 SDK Committers 1 - Mike McCready <66998419+MikeMcC399@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/61864 Refs: https://github.com/nodejs/node/issues/61449 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/61864 Refs: https://github.com/nodejs/node/issues/61449 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> -------------------------------------------------------------------------------- βΉ This PR was created on Tue, 17 Feb 2026 11:04:03 GMT β Approvals: 4 β - Colin Ihrig (@cjihrig): https://github.com/nodejs/node/pull/61864#pullrequestreview-3813779423 β - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/61864#pullrequestreview-3816073746 β - Stefan Stojanovic (@StefanStojanovic): https://github.com/nodejs/node/pull/61864#pullrequestreview-3818866791 β - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/61864#pullrequestreview-3828037392 β Last GitHub CI successful βΉ Green GitHub CI is sufficient -------------------------------------------------------------------------------- β No git cherry-pick in progress β No git am in progress β No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD 90c6dfbbce..ca92ea03da main -> origin/main β origin/main is now up-to-date main is out of sync with origin/main. Mismatched commits: - 70dff3d287 doc: clarify status of feature request issues - ca92ea03da doc: clarify status of feature request issues -------------------------------------------------------------------------------- HEAD is now at ca92ea03da doc: clarify status of feature request issues β Reset to origin/main - Downloading patch for 61864 From https://github.com/nodejs/node * branch refs/pull/61864/merge -> FETCH_HEAD β Fetched commits as c9acf345922b..30ff2f77f2af -------------------------------------------------------------------------------- [main 8f39ead20d] doc: support toolchain Visual Studio 2022 & 2026 + Windows 11 SDK Author: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Tue Feb 17 12:01:32 2026 +0100 1 file changed, 5 insertions(+), 5 deletions(-) [main 261005c197] add back Windows 10 SDK Author: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed Feb 18 17:47:01 2026 +0100 1 file changed, 5 insertions(+), 5 deletions(-) β Patches applied There are 2 commits in the PR. Attempting autorebase. (node:804) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated. (Use `node --trace-deprecation ...` to show where the warning was created) Rebasing (2/4) Executing: git node land --amend --yes --------------------------------- New Message ---------------------------------- doc: support toolchain Visual Studio 2022 & 2026 + Windows 11 SDKhttps://github.com/nodejs/node/actions/runs/22266776680 |
|
Needs
commit-queue-squash
|
Refs: #61449
Situation
The Supported toolchains section of the
BUILDING.mddocument specifies:BUILDING.mddocument, the "Desktop development with C++" workload is required. In the older Visual Studio 2019, this installed the Windows 10 SDK. The Visual Studio 2022 & 2026 releases however install the Windows 11 SDK, not the Windows 10 SDK by default, although Visual Studio 2022 does allow optionally installing the (out-of-support) Windows 10 SDK.Change
Update the Supported toolchains section of the
BUILDING.mddocument to:This restricts the Visual Studio versions to the working ones, and adds Windows 11 SDK (which is the one currently supported by Microsoft) to the supported toolchain.
Backporting
This PR can be backported to v25.x with no restrictions
Backporting to v24.x requires the landing of PR [v24.x backport] build: add support for Visual Studio 2026Β #61840 for consistency between documentation and capabilities, although backporting without the other PR won't make the documentation any more inaccurate than it currently is
Do not backport to v22.x or v20.x since they are not compatible with Visual Studio 2026 (see [v20.x] doc: supported toolchain with Visual Studio 2019 & 2022 onlyΒ #61450 & [v22.x] doc: supported toolchain with Visual Studio 2022 onlyΒ #61451 instead)