本文介绍了Visual Studio 2017(专业版)脱机更新布局缺少包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! &NBSP; HTTPS://stackoverflow.com/questions/52428110/visual-studio-2017-professional-offline-update-layout-is-missing-packagesRef: https://stackoverflow.com/questions/52428110/visual-studio-2017-professional-offline-update-layout-is-missing-packages vs_Professional.exe --layout <path_to_layout> 运行一段时间并更新?全部?布局中的包。 使用此更新的布局进行全新安装确实运行良好,但是 - 使用此布局更新其中一个主机时版本15.5安装更新程序失败,退出代码为"1"。 旁注:VS实际上声明它现在是15.8.4 - 但它退出带有错误代码..所以..?¥ 我用于安装/更新的命令是(删除"更新")用于清洁安装)which ran for a while and updated ?all? packages in the layout.doing a clean install with this updated layout does work well, however - when using this layout to update one of the hosts that have version 15.5 installed the update procedure fails with exit code "1".sidenote: VS actually states that it's now 15.8.4 - but it exits with an error code .. so ..?the command I use for install/update is(drop the "update" for the clean installation) vs_Professional.exe update --passive --norestart --wait --productkey $productKey --nocache --noUpdateInstaller --noWeb 使用collect.exe有一个state.errors.json文件,声明布局路径上缺少几个包... 注意:我需要拥有所有必需的包在离线布局中可用 - 因为有些PC没有互联网接入(尽管我们已经要求那些vs-setups需要相同......)b 我试图联系微软支持,但直到现在才收到回复。 - 有这个问题的其他人/能够解决它吗?using collect.exe there is a state.errors.json file which states that a couple of packages are missing on the layout path...NOTE: I need to have all required packages available in the offline layout - because some of the PCs do not have internet access (despite we've got the requirement that those vs-setups need to be identical...)I've tried to reach out to Microsoft Support but didn't hear back from the till now. - anyone else having this issue / was able to solve it?推荐答案 嗨Manfred Wallner, 欢迎来到MSDN论坛。 我检查Stack Overflow的回复。您是否按照@Sara Liu-MSFT的建议来解决此错误? 你说你更新布局工作得很好,只有一个主机出现故障,所以我建议你试试复制成功更新的最新版本文件夹,粘贴到失败的主机上 replace旧版本文件夹。你还可以使用-fix命令修复 https://docs.microsoft.com/en-us/visualstudio/install/update-a-network - 安装-的视觉工作室?视图= VS-2017#如何至FIX-A-布局。不要忘记保持互联网连接。you said you update the layout is work well, only one of the hosts failed, so I recommend you could have a try with copying the latest version folder that is updated successfully to paste into the failed host to replace the old version folder. What’s more you could also use - -fix command to fix this error fromhttps://docs.microsoft.com/en-us/visualstudio/install/update-a-network-installation-of-visual-studio?view=vs-2017#how-to-fix-a-layout. Don’t forget keep internet connection. > ;>在进行干净安装时,我需要在旧版本和新版本之间进行选择。 >>我更新布局后如何明确选择安装旧版本? 据我所知, 在执行更新命令后,旧的将被新的覆盖。很抱歉给您带来不便。如果你想使用VS的旧版本,请检查 如何为之前的Visual Studio 2017创建布局发布。As far as I know, the old one will be covered by the new one after you perform the update command. Sorry for your inconvenience. If you want to use old version of VS, please check forHow to create a layout for a previous Visual Studio 2017 release. 顺便说一下,如果你已经安装了VS 15.8,你就无法安装VS 15.4您的计算机上版本相同。 最诚挚的问候, 可能 这篇关于Visual Studio 2017(专业版)脱机更新布局缺少包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-04 01:13