Visual Studio could not download the installation files. Please check your Internet connection and try again.

This article explains

As the title indicates, this article aims to solve the problem that the installation file cannot be downloaded during the vs2019 installation process. This is also the problem I encountered during the installation process. It took a long time and I want to record it.

Screenshot of the problem

Problem Description

Solution:

1. Modify DNS server address

Specific steps:
Search Control Panel --> Click Network and Internet --> Click Network and Sharing Center --> Find the connected WLAN
insert image description here

Click WLAN Status --> TCP/IPv4 --> Find Properties
insert image description here
insert image description here
and modify the DNS address, as shown above, click OK.

2. Modify the hosts file

Note: The folder path is: C:\Windows\System32\drivers\etc
insert image description here
open with Notepad, add domain name resolution in the last line, that is, this line of text: The 23.76.236.91 aka.ms
insert image description here
ip address may change, here you can click directly with the help of the webmaster tool , find the IP address, and fill it in, pay attention Don't forget to add aka.ms
insert image description here

Summarize

Although I don't know how to explain it, but after using the above method, my installation can proceed normally.insert image description here

Reference blog:
1. https://blog.csdn.net/qq_35697978/article/details/117804752
2. https://blog.csdn.net/weixin_42572868/article/details/117827311

Guess you like

Origin blog.csdn.net/Restarting2019/article/details/118676966