Skip to content

Commit

Permalink
Update VS2022 installation in prerequisites.md (#196)
Browse files Browse the repository at this point in the history
a) `--passive` so use can see a visual progression. 
b) `22621` for latest Windows11SDK
c) Add notes for the magic ^ char
  • Loading branch information
yangrongwei authored Mar 28, 2024
1 parent 00940d5 commit e2cf9b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/CodeDevelopment/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ the expectation is that between Project Mu and TianoCore Edk2 you could use any
2. Install from cmd line with required features (this set will change over time).
``` cmd
C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache --installPath C:\BuildTools ^
C:\TEMP\vs_buildtools.exe --passive --wait --norestart --nocache --installPath C:\BuildTools ^
--add Microsoft.VisualStudio.Component.VC.CoreBuildTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.ARM ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Component.VC.Tools.ARM ^
--add Microsoft.VisualStudio.Component.VC.Tools.ARM64
```
See component list here for more options. <https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2022>
The `^` char is the line continuation char of cmd.exe. Simply remove them if you use previous command in PowerShell.
### Visual Studio 2019
1. Download latest version of VS build Tools to c:\TEMP
Expand Down

0 comments on commit e2cf9b7

Please sign in to comment.