Download Visual studio IDE whole and install in offline

Reference the official document

.https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022

1.Download the bootstrapper. Take community for example.

 

 https://aka.ms/vs/17/release/vs_community.exe;

 

 

2.Copy the downloaded exe file to specified directory,such as D:\XLDownload\VSCommunity

 

 3.Run the command prompt in adminstrater mode and cd to D:\XLDownload\VSCommunity.Then run below command.

vs_Community.exe --layout D:\XLDownload\VSCommunity\Code --lang en-US

4.It will start downloading tools automatically.

 

 

 

 

 

posted @ 2022-09-19 17:55  FredGrit  阅读(27)  评论(0编辑  收藏  举报