VisualStudio2022 Enterprise(vs2022)離線安裝包下載
- 官網(wǎng)下載地址
- Create an offline installation - Visual Studio (Windows) | Microsoft Docs
- 下載文件后創(chuàng)建一個(gè)文件夾把“vs_Enterprise.exe”文件拷貝至目錄下
- 管理員身份運(yùn)行打開CMD、DOS命令窗口
- Visual Studio Enterprise 組件目錄鏈接:
-
Visual Studio Community 工作負(fù)載和組件 ID | Microsoft Docs
- 切換至剛剛創(chuàng)建的文件夾目錄
-
?輸入
-
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
-
-
這段命令下載內(nèi)容如下(也可以根據(jù)自身需求參考上面組件鏈接自行拼接):
-
?
-
命令說明:
-
--layout:指定 VS2022 相關(guān)組件的下載目錄,設(shè)置為當(dāng)前目錄下的 C:\vs2022Install 目錄
-
--add:添加將要下載的工作負(fù)載、當(dāng)前添加的是(Microsoft.VisualStudio.Workload.ManagedDesktop、add Microsoft.VisualStudio.Workload.NetCrossPlat等等)
-
--includeRecommended:安裝相關(guān)工作負(fù)載的推薦組件(另一個(gè)參數(shù) --includeOptional 將會(huì)下載選定的工作負(fù)載中可選的組件,會(huì)導(dǎo)致下載的安裝包過大,不建議使用。)
-
–lang:下載指定的語言包,當(dāng)前下載是中文(zh-CN)
-
-
幫助查看器屬于獨(dú)立工作負(fù)載,也需要單獨(dú)下載
-
命令如下:
-
vs_Enterprise.exe --layout C:\vs2022Install --add Microsoft.Component.HelpViewer --lang en-US zh-CN --lang zh-CN
-
輸入回車
-
?如需要下載.net framework 4.5.2目標(biāo)包和SDK及其他版本組件拼接上即可
-
Microsoft.Net.Component.4.5.2.TargetingPack:目標(biāo)包
-
例:
vs_Enterprise.exe --layout C:\vs2022Install --add Microsoft.Net.Component.4.5.2.TargetingPack --lang zh-CN
-
參考官方獨(dú)立組件目錄
-
Visual Studio Enterprise 工作負(fù)載和組件 ID | Microsoft Docs
-
-
-
到此等下載完成即可,下載完畢后,將網(wǎng)絡(luò)斷開或?qū)⑵淇截惖狡渌绰?lián)網(wǎng)的電腦上,然后進(jìn)入目錄,雙擊 vs_setup.exe 進(jìn)行安裝
-
官網(wǎng)脫機(jī)下載安裝鏈接
-
創(chuàng)建脫機(jī)安裝 - Visual Studio (Windows) | Microsoft Docs
-
文章來源:http://www.zghlxwxcb.cn/news/detail-458821.html
Cherry_Blog (櫻花的個(gè)人博客)文章來源地址http://www.zghlxwxcb.cn/news/detail-458821.html
到了這里,關(guān)于VisualStudio2022 Enterprise(vs2022)離線安裝包下載的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!