Solve the Visual Studio (VS) plugin download slowly

1. Turn off the IPV6 protocol

Because if support IPV6 protocol, IPV6 will automatically download the extension.
IPV6 has not been established because perfect, it may be slower.
Baidu experience: How close IPV6 protocol

2. Add to IPV6 DNS

Baidu: 2400:da00::6666
Google:2001:4860:4860::8888

Why add two?
Because we must ensure the domestic network can access.

Reference Set IPV4 the DNS
Here Insert Picture Description

3. Modify the host

First Win + R to open the cmd
the Ping about download.visualstudio.microsoft.com
Here Insert Picture Description
remember well the IP address, you may not be the same.

Then modify the hosts file

1. Address: installed by default in C: \ windows \ system32 \ drivers \ etc

2. Open the hosts use Notepad or other editing tools, in the last line with

124.236.58.89  download.visualstudio.microsoft.com
//这个IP是你刚才ping出来的

3. Then run Win + R cmd, execute the command, the refresh DNS

ipconfig /flushdns

4. re-install, update or change

At last

Either way, each plug-in download quickly, if Caton, please re-download and install, update or change.

Published 612 original articles · won praise 282 · views 50000 +

Guess you like

Origin blog.csdn.net/weixin_43627118/article/details/104823643