作者:V铿锵花木兰V | 来源:互联网 | 2024-09-24 17:40
Referencetheofficialdocument.https:learn.microsoft.comen-usvisualstudioinstallcreate-an-of
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.