Install Visual Studio 2017 on low bandwidth or unreliable network environments

Install Visual Studio 2017 on low bandwidth or unreliable network environments

We recommend that you try the Visual Studio web installer—we think you‘ll find it a good experience for most situations.

Download Visual Studio 2017

However, if your internet connection is unavailable or unreliable, you can use the command line to create a local cache of the files you need to complete an offline install. Here‘s how.

Note

If you are an enterprise administrator who wants to perform a deployment of Visual Studio 2017 to a network of client workstations that are firewalled from the internet, see our Create a network installation of Visual Studio 2017 and Install certificates required for Visual Studio offline installation pages.

Step 1 - Download the Visual Studio bootstrapper

Start by downloading the Visual Studio bootstrapper for your chosen edition of Visual Studio.

Your setup file—or to be more specific, a bootstrapper file—will match or be similar to one of the following.

Edition File
Visual Studio Community vs_community.exe
Visual Studio Professional vs_professional.exe
Visual Studio Enterprise vs_enterprise.exe

Step 2 - Create a local install cache

You must have an internet connection to complete this step. To create a local layout, open a command prompt and use one of the commands from the following examples. The examples here assume that you‘re using the Community edition of Visual Studio; adjust the command as appropriate for your edition.

  • For .NET web and .NET desktop development, run:

    vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US

  • For .NET desktop and Office development, run:

    vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Office --includeOptional --lang en-US

  • For C++ desktop development, run:

    vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US

  • To create a complete local layout with all features (this will take a long time—we have lots of features!), run:

    vs_community.exe --layout c:\vs2017layout --lang en-US

If you want to install a language other than English, change en-US to a locale from the list at the bottom of this page. Use this list of the components and workloads available to further customize your installation cache as necessary.

Important

A complete Visual Studio 2017 layout requires at least 35 GB of disk space and can take some time to download. See Use command-line parameters to install Visual Studio 2017 for information on how to create a layout with only the components you want to install.

Step 3 - Install Visual Studio from the local cache

Tip

When you run from a local install cache, setup uses the local versions of each of these files. But if you select components during installation that aren‘t in the cache, we attempt to download them from the internet.

To ensure that you only install the files you‘ve downloaded, use the same command-line options that you used to create the layout cache. For example, if you created a layout cache with the following command:

vs_community.exe --layout c:\vs2017layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional --lang en-US

Use this command to run the installation:

c:\vs2017layout\vs_community.exe --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --includeOptional

Note

If you get an error that a signature is invalid, you must install updated certificates. Open the Certificates folder in your offline cache. Double-click each of the certificate files, and then click through the Certificate Manager wizard. If asked for a password, leave it blank.

List of language locales

Language-locale Language
cs-CZ Czech
de-DE German
en-US English
es-ES Spanish
fr-FR French
it-IT Italian
ja-JP Japanese
ko-KR Korean
pl-PL Polish
pt-BR Portuguese - Brazil
ru-RU Russian
tr-TR Turkish
zh-CN Chinese - Simplified
zh-TW Chinese - Traditional

Get support

Sometimes, things can go wrong. If your Visual Studio installation fails, see the Troubleshooting Visual Studio 2017 installation and upgrade issues page. If none of the troubleshooting steps help, you can contact us by live chat for installation assistance (English only). For details, see the Visual Studio support page.

Here are a few more support options:

See also

原文地址:https://www.cnblogs.com/3dnc/p/9533197.html

时间: 2024-08-30 12:05:25

Install Visual Studio 2017 on low bandwidth or unreliable network environments的相关文章

Visual Studio 2017 离线安装包 的创建

在低带宽或不可靠的网络环境中安装 Visual Studio 2017原文网址:https://docs.microsoft.com/zh-cn/visualstudio/install/install-vs-inconsistent-quality-network 我们精心设计了新的 Visual Studio 2017 安装程序,它非常适合在各种网络和计算机条件下安装 Visual Studio. 由于安装 Visual Studio 所需的文件发布在全球传送网络上,因此我们可以从本地服务器

Visual Studio 2017 调试 windows server 2016 Docker Container

网上很多文章都是在win10下,用Docker for windows工具进行Docker的安装部署的.用知道windows server 2016已经原生支持Docker了,其windows Container已经和Linux下的内核技术是一致的了,况且最重要的原因就是Docker容器的部署肯定是在Windows server 上面的.所以何不尝个鲜,直接用windows server 2016上装个visual studio 2017来进行开发呢. 一.Windows Server 2016

【Asp.Net Core】在Visual Studio 2017中使用Asp.Net Core构建Angular4应用程序

前言 Visual Studio 2017已经发布了很久了.做为集成了Asp.Net Core 1.1的地表最强IDE工具,越来越受.NET系的开发人员追捧. 随着Google Angular4的发布.我一直在想,怎么能够用这个地表最强IDE工具编写Angular4的Asp.Net Core项目.经过不懈的研究.终于的得到了一套很好的解决方案与大家分享. 文章转载请著名出处:http://www.cnblogs.com/smallprogram 我们的目的 随着Web技术的快速发展,新的技术层出

Visual Studio 2017各版本离线安装包获取以及安装教程

系统:  windows 7旗舰版 前言: Visual Studio 2017版本与以往的2015.2013.2012版本不同,采用了新的模块化安装方法.微软官方也并未提供ISO镜像,作者根据官方提供的离线下载方案(https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio)给大家总结总结. 一.去官网下载所需要的版本的安装包获取程序: https:/

Visual Studio 2017 集成Crystal Report为ASP.NET MVC呈现报表

原文:Visual Studio 2017 集成Crystal Report为ASP.NET MVC呈现报表 最近项目需要实现报表功能,平衡各方面的因素,还是使用Crystal Report(水晶报表) To get there click here: Download WIKI https://www.crystalreports.com/crystal-reports-visual-studio/ https://www.crystalreports.com/crvs/confirm/ 下载

Visual Studio 2017 for Mac 体验之Android.Form

微软官方说明: Visual Studio 2017 for Mac Last Update: 2017/6/16 我们非常荣幸地宣布 Visual Studio 2017 for Mac 现已推出. Visual Studio for Mac 是 Visual Studio 系列的新成员.通过它,macOS 上的开发人员可以使用 Xamarin 和 .NET Core 来构建移动.Web.和云应用,也可以使用 Unity 来开发游戏. 使用 Visual Studio 2017 for Mac

Visual Studio 2017各版本安装包离线下载、安装全解析

转自 寂靜·櫻花雨 Visual Studio 2017各版本安装包离线下载.安装全解析 感谢IT之家网友 寂靜·櫻花雨 的投稿 关于Visual Studio 2017各版本安装包离线下载.更新和安装的方法以及通过已下载版本减少下载量的办法 微软最近发布了正式版Visual Studio 2017并公开了其下载方式,不过由于VS2017采用了新的模块化安装方案,所以微软官方并未提供ISO镜像,但是官方提供了如何进行离线下载的方案给需要进行离线安装的用户,只不过都是英文.本文将对官方指南中的一部

Visual Studio 2017 发布

https://www.visualstudio.com/zh-cn/news/releasenotes/vs2017-relnotes 发布日期:2017 年 3 月 7 日 摘要 开发:快速导航.编写并修复代码 新的安装体验 - 降低了最小内存需求量以实现更快.更定制化的安装,并且支持脱机安装. Visual Studio IDE - 大幅改进了 Visual Studio 2017,包括减少启动和解决方案加载时间.改进登录和标识.改进代码导航以及增添打开文件视图和链接的服务,实现了应用和任

如何创建 Visual Studio 2017 RC 离线安装包

友情提示 目前,Android SDK 不支持离线安装.所以在未联网的电脑上离线安装 VS2017RC 且选择了 Android SDK 则可能失败. 创建 Visual Studio 的离线安装计划 首先下载相应版本的可执行文件,例如:vs_community.exe.vs_enterprise.exe 或 vs_professional 在 cmd 中运行可执行文件并加入下列参数: a. --layout <path>,<path>参数用于指定下载文件的目标路径.不支持相对路径