docs: update visual studio min version (#36702)
This commit is contained in:
parent
8f23b1527b
commit
644243efd6
1 changed files with 2 additions and 3 deletions
|
@ -7,13 +7,12 @@ Follow the guidelines below for building **Electron itself** on Windows, for the
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
* Windows 10 / Server 2012 R2 or higher
|
* Windows 10 / Server 2012 R2 or higher
|
||||||
* Visual Studio 2017 15.7.2 or higher - [download VS 2019 Community Edition for
|
* Visual Studio 2019 (>=16.0.0) to build, but Visual Studio 2022 (>=17.0.0) is preferred - [download VS 2022 Community Edition for free](https://www.visualstudio.com/vs/)
|
||||||
free](https://www.visualstudio.com/vs/)
|
|
||||||
* See [the Chromium build documentation](https://chromium.googlesource.com/chromium/src/+/main/docs/windows_build_instructions.md#visual-studio) for more details on which Visual Studio
|
* See [the Chromium build documentation](https://chromium.googlesource.com/chromium/src/+/main/docs/windows_build_instructions.md#visual-studio) for more details on which Visual Studio
|
||||||
components are required.
|
components are required.
|
||||||
* If your Visual Studio is installed in a directory other than the default, you'll need to
|
* If your Visual Studio is installed in a directory other than the default, you'll need to
|
||||||
set a few environment variables to point the toolchains to your installation path.
|
set a few environment variables to point the toolchains to your installation path.
|
||||||
* `vs2019_install = DRIVE:\path\to\Microsoft Visual Studio\2019\Community`, replacing `2019` and `Community` with your installed versions and replacing `DRIVE:` with the drive that Visual Studio is on. Often, this will be `C:`.
|
* `vs2022_install = DRIVE:\path\to\Microsoft Visual Studio\2022\Community`, replacing `2022` and `Community` with your installed versions and replacing `DRIVE:` with the drive that Visual Studio is on. Often, this will be `C:`.
|
||||||
* `WINDOWSSDKDIR = DRIVE:\path\to\Windows Kits\10`, replacing `DRIVE:` with the drive that Windows Kits is on. Often, this will be `C:`.
|
* `WINDOWSSDKDIR = DRIVE:\path\to\Windows Kits\10`, replacing `DRIVE:` with the drive that Windows Kits is on. Often, this will be `C:`.
|
||||||
* [Node.js](https://nodejs.org/download/)
|
* [Node.js](https://nodejs.org/download/)
|
||||||
* [Git](https://git-scm.com)
|
* [Git](https://git-scm.com)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue