mirror of
https://github.com/microsoft/PowerToys
synced 2025-09-03 16:05:12 +00:00
Update readme.md (#5939)
This commit is contained in:
@@ -52,12 +52,19 @@ Various tools used by PowerToys. Includes the Visual Studio 2019 project templat
|
|||||||
|
|
||||||
1. Windows 10 April 2018 Update (version 1803) or newer
|
1. Windows 10 April 2018 Update (version 1803) or newer
|
||||||
2. Visual Studio Community/Professional/Enterprise 2019
|
2. Visual Studio Community/Professional/Enterprise 2019
|
||||||
3. Run the command below in cmd/terminal to install all the workloads and components for VS.<br />
|
3. Run the command below in cmd/terminal to install all the workloads and components for VS.
|
||||||
**Note:** the script assumes VS is installed and Community edition. Please update path accordingly if Professional/Enterprise.
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
cd "%ProgramFiles(x86)%\Microsoft Visual Studio\2019"
|
||||||
|
SET targetFolder="\"
|
||||||
|
IF EXIST Enterprise\NUL (SET targetFolder=Enterprise)
|
||||||
|
IF EXIST Professional\NUL (SET targetFolder=Professional)
|
||||||
|
IF EXIST Community\NUL (SET targetFolder=Community)
|
||||||
|
|
||||||
|
ECHO %targetFolder%
|
||||||
|
|
||||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vs_installer.exe" ^
|
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vs_installer.exe" ^
|
||||||
modify --installpath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\community" ^
|
modify --installpath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\%targetFolder%" ^
|
||||||
--add Microsoft.VisualStudio.Workload.NativeDesktop ^
|
--add Microsoft.VisualStudio.Workload.NativeDesktop ^
|
||||||
--add Microsoft.VisualStudio.Workload.ManagedDesktop ^
|
--add Microsoft.VisualStudio.Workload.ManagedDesktop ^
|
||||||
--add Microsoft.VisualStudio.Workload.Universal ^
|
--add Microsoft.VisualStudio.Workload.Universal ^
|
||||||
|
Reference in New Issue
Block a user