VisualStudio2022 Enterprise(vs2022)离线安装包下载
VisualStudio2022 Enterprise(vs2022)離線安裝包下載
- 官網下載地址
- Create an offline installation - Visual Studio (Windows) | Microsoft Docs
- 下載文件后創建一個文件夾把“vs_Enterprise.exe”文件拷貝至目錄下
- 管理員身份運行打開CMD、DOS命令窗口
- Visual Studio Enterprise 組件目錄鏈接:
- Visual Studio Community 工作負載和組件 ID | Microsoft Docs
- 切換至剛剛創建的文件夾目錄
-
?輸入
- vs_Enterprise.exe --layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetCrossPlat --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.Node --add Microsoft.VisualStudio.Workload.Office --add Microsoft.VisualStudio.Workload.Python --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.VisualStudioExtension --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.Data --add Microsoft.VisualStudio.Workload.DataScience --includeRecommended --lang zh-CN
-
這段命令下載內容如下(也可以根據自身需求參考上面組件鏈接自行拼接):
-
?
-
命令說明:
-
--layout:指定 VS2022 相關組件的下載目錄,設置為當前目錄下的 C:\vs2022Install 目錄
-
--add:添加將要下載的工作負載、當前添加的是(Microsoft.VisualStudio.Workload.ManagedDesktop、add Microsoft.VisualStudio.Workload.NetCrossPlat等等)
-
--includeRecommended:安裝相關工作負載的推薦組件(另一個參數 --includeOptional 將會下載選定的工作負載中可選的組件,會導致下載的安裝包過大,不建議使用。)
-
–lang:下載指定的語言包,當前下載是中文(zh-CN)
-
-
幫助查看器屬于獨立工作負載,也需要單獨下載
-
命令如下:
- vs_Enterprise.exe --layout C:\vs2022Install --add Microsoft.Component.HelpViewer --lang en-US zh-CN --lang zh-CN
-
輸入回車
-
?如需要下載.net framework 4.5.2目標包和SDK及其他版本組件拼接上即可
-
Microsoft.Net.Component.4.5.2.TargetingPack:目標包
-
例:
vs_Enterprise.exe --layout C:\vs2022Install --add Microsoft.Net.Component.4.5.2.TargetingPack --lang zh-CN -
參考官方獨立組件目錄
-
Visual Studio Enterprise 工作負載和組件 ID | Microsoft Docs
-
-
到此等下載完成即可,下載完畢后,將網絡斷開或將其拷貝到其它未聯網的電腦上,然后進入目錄,雙擊 vs_setup.exe 進行安裝
-
官網脫機下載安裝鏈接
-
創建脫機安裝 - Visual Studio (Windows) | Microsoft Docs
-
Cherry_Blog (櫻花的個人博客)
總結
以上是生活随笔為你收集整理的VisualStudio2022 Enterprise(vs2022)离线安装包下载的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c++ libwebsocket库应用开
- 下一篇: 下载logisim时显示“系统找不到指定