Install Visual Studio on low bandwidth or unreliable network environments
We recommend that you try the Visual Studio Web Installer-we think to 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 a offline install. Here's how.
Note
If You is an enterprise administrator who wants to perform a deployment of Visual Studio for a network of client work Stations that is firewalled from the Internet, see our Create a network installation of Visual Studio and Install CE Rtificates 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 is more specific, a bootstrapper File-will match or being 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 has 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 this 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 M Icrosoft. 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 \ Vs2017layout--add Microsoft.VisualStudio.Workload.NativeDesktop--includerecommended--lang en-US
-
To create a complete the local layout with all features (this would 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 中文版, change to a locale from the list at the bottom of this en-US
page. U Se This list of the components and workloads available to further customize your installation cache as necessary.
Important
A Complete Visual Studio layout requires at least GB of disk space and can take some time to download. See Use command-line parameters to install Visual Studio for information on how to create a layout with only the comp Onents 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 for each of the these files. But if you select the during installation this aren ' t in the cache, we attempt to download them from the Internet.
To ensure this you have only install the files you've downloaded, use the same command-line options which 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 the A error that a signature are 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 |
中文版 |
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 installation and upgrade Issues page. If none of the troubleshooting steps help, you can contact us by live chat for installation assistance (中文版 only). For details, see the Visual Studio support page.
Here is a few more support options:
- You can report product issues to us via the report a problem tool, that appears both in the Visual Studio Installer and in The Visual Studio IDE.
- You can share a product suggestion with us on UserVoice.
- You can track product issues and find answers in the Visual Studio Developer Community.
- You can also engage with us and other Visual Studio developers through the Visual Studio conversation in the Gitter commun ity. (this option requires a GitHub account.)
See Also
- Install Visual Studio
- Visual Studio Administrator Guide
- Use command-line parameters to install Visual Studio
- Visual Studio Workload and component IDs
Install Visual Studio on low bandwidth or unreliable network environments