我按照 https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019 创建了离线安装.
我还在“.\certificates”下安装了证书。然后我在安装文件夹中运行以下命令
.\vs_Professional.exe update --noWeb --layout .
在弹出窗口中出现错误。
Visual Studio Installer
Setup can't continue. We need to download some files to complete this operation, but the --noweb parameter was specified. Please remove the --noweb parameter and try again.
删除参数也会失败,因为机器没有互联网。
最佳答案
需要删除 --layout .
。以下命令有效。
.\vs_Professional.exe update --noWeb
关于visual-studio - 无法在没有互联网的计算机上更新 Visual Studio 2019?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58883144/