0. 先下載 vs_community.exe
https://aka.ms/vs/16/release/vs_community.exe
1. 下載 舊版 2019 Visual Studio Community 2019
找一個磁碟空間 48GB, 例如F:\,
用 vs_community.exe 建立 Visual Studio 2019 local cache.
vs_community.exe --layout F:\vslayout.2019 --lang en-US
2. 進入 cache 目錄執行
f:
cd \vslayout.2019
vs_community.exe --noWeb
參考來源:
限會員,要發表迴響,請先登入
- 2樓. 上海迪士尼 會搶走 HK 迪士尼 遊客,2025/06/08 09:56
給 Windows 11 pro 的 add 參數:
vs_community.exe --layout F:\vslayout.2019 --lang en-US ^
--add Microsoft.VisualStudio.Workload.VCTools ^
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22000 ^
--add Microsoft.VisualStudio.Component.VC.CMake.Project ^
--add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
--add Microsoft.VisualStudio.Component.VC.Redist.MSM ^
--add Microsoft.VisualStudio.Component.VC.ATL ^
--add Microsoft.VisualStudio.Component.VC.Llvm.Clang
- 1樓. 上海迪士尼 會搶走 HK 迪士尼 遊客,2025/06/08 09:54vs_community 指令後, 加上 --add 參數來 減少下載 layout 的數量, 並減少占用的容量.
vs_community.exe --layout F:\vslayout.2019 --lang en-US ^
--add Microsoft.VisualStudio.Workload.VCTools ^
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
--add Microsoft.VisualStudio.Component.Windows10SDK.18362



