Hello @- -,
Welcome to Microsoft Q&A forum.
I notice that you used --includeOptional
parameter. Following is the description of this parameter:
Optional: During an install or modify command, this parameter includes the optional components for any workloads that are installed, but not the recommended components. The workloads are specified either with --allWorkloads or --add.
As you didn’t use --add
or --allWorkloads
parameter, but used --includeOptional
parameter, I guess some packages were not downloaded correctly into the layout.
If you want to download a complete local layout of Visual Studio, I suggest moving this generated layout back to the machine with network and run following command: vs_setup --layout C:\xxxx\xxxx --verify --fix
, then move the layout back to the machine without network and try to install VS again.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.