docs: clarify VS installation instructions for Windows builds (#20236)

* docs: note required step for VS in Windows build

* docs: add instructions for custom VS location

* lint?

* link chromium docs
This commit is contained in:
Erick Zhao 2019-09-17 10:23:56 -04:00 committed by John Kleinschmidt
parent f566e562a3
commit 2cac40444b

View file

@ -5,8 +5,15 @@ Follow the guidelines below for building Electron on Windows.
## 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 2017 Community Edition for * Visual Studio 2017 15.7.2 or higher - [download VS 2019 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/+/master/docs/windows_build_instructions.md#visual-studio) for more details on which Visual Studio
components are required.
* 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.
* `vs2019_install = DRIVE:\path\to\Microsoft Visual Studio\2019\Community`
(replace `2019` and `Community` with your installed versions)
* `WINDOWSSDKDIR = DRIVE:\path\to\Windows Kits\10`
* [Python 2.7.10 or higher](http://www.python.org/download/releases/2.7/) * [Python 2.7.10 or higher](http://www.python.org/download/releases/2.7/)
* Contrary to the `depot_tools` setup instructions linked below, you will need * Contrary to the `depot_tools` setup instructions linked below, you will need
to use your locally installed Python with at least version 2.7.10 (with to use your locally installed Python with at least version 2.7.10 (with