参考:2019-11-29-VisualStudio-2019-如何离线下载_lindexi_gd的博客-CSDN博客
1、下载对应版本的引导bootstrapter
Create an offline installation - Visual Studio (Windows) | Microsoft Learn
2、下载在新建的一个下载包的文件夹中
在该路径下打开cmd,输入下载指令
vs_Professional.exe --layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --add Microsoft.VisualStudio.Workload.NativeDesktop --includeOptional --lang zh-cn
3后续安装,选择全部下载后再安装
参考:
VS 2019 专业版离线安装_loadinglpx的博客-CSDN博客_vs2019专业版
Microsoft Visual Studio 2019正式版离线安装包下载_凝初墨初的博客-CSDN博客_vs2019离线安装包