Unable to yarn install
with VS2022 build tools
#138572
Labels
electron-16-update
Issues related to electron 16 update
insiders-released
Patch has been released in VS Code Insiders
vscode-build
VS Code build process issues
windows
VS Code on Windows issues
Milestone
Does this issue occur when all extensions are disabled?: N/A
Steps to Reproduce:
yarn install
Result:
Receive error from
build\npm\preinstall.js
:This is because Visual Studio Build Tools 2022 installs to
C:\Program Files (x86)\Microsoft Visual Studio\2022
, butbuild\npm\preinstall.js
does not consider 2022 to be a supported version, only 2019 and 2017.vscode/build/npm/preinstall.js
Line 48 in 5f63d72
I would prefer to save disk space and avoid installing Visual Studio Build Tools 2019 when I already have 2022 installed.
The text was updated successfully, but these errors were encountered: