VS2019 离线安装


1、在微软官网下载需要的版本

   例如 VS2019 Enterprise

2、下载组件到指定目录

  例如(D:\VS2019_Enterprise)

  vs_enterprise.exe --layout D:\VS2019_Enterprise --all --includeRecommended --includeOptional --lang zh-CN

 

  下载 .NET 桌面和 .NET Web 工作负载,以及所有推荐组件和 GitHub 扩展。 仅包括中文语言包:

  vs_enterprise.exe --layout D:\VS2019_Enterprise ^ --lang zh-CN ^ --add Microsoft.VisualStudio.Workload.NetWeb ^ --add Microsoft.VisualStudio.Workload.ManagedDesktop ^ --add Component.GitHub.VisualStudio ^ --includeRecommended

  

  

具体参数详解请参考 https://docs.microsoft.com/zh-cn/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2019

参考 https://docs.microsoft.com/zh-cn/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM