Skip to content

Commit fc71aa6

Browse files
author
Chris Wögi
authored
Update guide for Windows users (#173)
Adjust download link and paths to latest version - Visual Studio 2022.
1 parent 10d0ec6 commit fc71aa6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

guides/windows.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ Of course, using **WSL 2** can be an alternative if things below doesn't work.
1111

1212
## Requirements
1313

14-
### Install Microsoft Visual C++ build tools
14+
### Install Microsoft C++ Build Tools
1515

1616
Download page:
1717
[visualstudio.microsoft.com/visual-cpp-build-tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
1818

1919
Alternative direct download link:
20-
[aka.ms/vs/16/release/vs_buildtools.exe](https://aka.ms/vs/16/release/vs_buildtools.exe)
21-
_(aligned with Visual Studio 2019 - version 16)_
20+
[aka.ms/vs/17/release/vs_buildtools.exe](https://aka.ms/vs/17/release/vs_buildtools.exe)
21+
_(aligned with Visual Studio 2022 - version 17)_
2222

23-
You need to install the **C++ build tools** workload with the default optional components.
23+
You need to install the **Desktop development with C++** workload with probably the default optional components.
2424

2525
## Building environment
2626

@@ -46,22 +46,22 @@ mix test
4646

4747
**Alternative way to start prompt**
4848

49-
> Assuming you have _latest_ version of Build Tools, aligned with Visual Studio **2019**,
49+
> Assuming you have _latest_ version of Build Tools, aligned with Visual Studio **2022**,
5050
installed in its default installation path.
5151

5252
```powershell
53-
cmd /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
53+
cmd /k "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
5454
```
5555

5656
## Visual Studio Code users using ElixirLS
5757

58-
> Assuming you have _latest_ version of Build Tools, aligned with Visual Studio **2019**,
58+
> Assuming you have _latest_ version of Build Tools, aligned with Visual Studio **2022**,
5959
installed in its default installation path.
6060

6161
Start Visual Studio Code from a PowerShell prompt within your project folder.
6262

6363
```powershell
64-
cmd /k '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" && code .'
64+
cmd /k '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat" && code .'
6565
```
6666

6767
With starting Visual Studio Code this way, ElixirLS should work
@@ -78,7 +78,7 @@ Within your global `settings.json` or your workspace `.vscode\settings.json` add
7878
"terminal.integrated.shell.windows": "cmd.exe",
7979
"terminal.integrated.shellArgs.windows": [
8080
"/k",
81-
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat"
81+
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat"
8282
]
8383
}
8484
```

0 commit comments

Comments
 (0)