docs: use Visual Studio Build Tools 2022 for Windows #33020
Merged
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Additional details
Cypress dependencies that use platform-dependent rebuilds are not compatible with Visual Studio Community 2026. See description and error logs in Microsoft Windows Visual Studio Community 2026 edition build incompatibility #33018.
CONTRIBUTING > Requirements > Windows currently instructs to install the "Visual Studio Community 2022 edition" using the URL https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community. This link however now downloads "Visual Studio Community 2026 edition".
The Visual Studio download older versions page does not include "Visual Studio Community 2022 edition" and states:
Visual Studio 2022 - Evergreen bootstrappers lists alternate download URLs, including "Visual Studio 2022 Build Tools" from https://aka.ms/vs/17/release/vs_buildtools.exe supported until Jan 2032. The
msiversion of Node.js for Windows optionally installs the build tools for exactly this purpose.CONTRIBUTING > Requirements > Windows is changed to recommend Visual Studio 2022 Build Tools instead of "Visual Studio Community 2022 edition".
Steps to test
On Windows 11 25H2:
Follow the instructions in CONTRIBUTING > Requirements > Windows to install Python.
Uninstall any previous installations of Visual Studio. Install Visual Studio 2022 Build Tools, select "Desktop development with C++" workload. Restart computer.
Confirm that build is successful, particularly check that there are no errors in the steps:
How has the user experience changed?
Contributor instructions only. Contributors using Microsoft Windows should be able to set up a working environment following the instructions in CONTRIBUTING > Requirements > Windows in order to build Cypress from source.
PR Tasks
cypress-documentation?type definitions?Note
Update Windows setup in CONTRIBUTING to use Visual Studio 2022 Build Tools (Desktop C++ workload) instead of Visual Studio Community 2022.
Written by Cursor Bugbot for commit 6e3a58c. This will update automatically on new commits. Configure here.