无法更新视觉工作室2017 [英] Can't update visual studio 2017

查看:62
本文介绍了无法更新视觉工作室2017的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我在更新Visual Studio 2017时遇到了问题。或者就安装Visual Studio 2019而言。或者


一系列事件是我注意到我在VS 2017(pro)中有更新并点击更新按钮。它会执行一些操作并且它说'无法检查更新,请启动Visual Studio安装程序以检查更新。'



我转到visual studio安装程序文件夹(C:\Program Files(x86)\ Microsoft Visual Studio \Installer)并以管理员身份运行vs_installer.exe,但它不起作用。更具体地说,它提示我先更新visual studio安装程序..所以我试试。


我按更新然后...


这让我陷入了多次下载/验证循环,然后无法下载安装文件。



下载并尝试多次验证,最终导致其说"检查您的互联网连接并再试一次"



所有这一切都可以上网。



我已经运行了collect.exe并且为这台机器安装了一个vslogs.zip文件。

解决方案

嗨朋友,


欢迎来到MSDN论坛。


请将vslogs.zip文件上传到
https:// onedrive .live.com

并在此处分享链接,这将有助于我们分析细节失败的原因。


同时,您可以检查是否有任何未决的Windows更新,安装并重新启动PC。清理%temp%文件夹并暂时禁用任何防病毒
软件并以管理员身份运行VS安装程序进行测试。


删除
Visual Studio Installer目录以修复升级问题
并关闭VS安装程序,删除VS安装程序目录,如C:\Program Files(x86)\ Microsoft Visual Studio \Installer
,并运行VS安装程序引导程序再次尝试。



最好的问候,


萨拉


Hello, I'm having trouble updating visual studio 2017. Or for that matter installing visual studio 2019 either. 

The sequence of events is that I notice I have an update in VS 2017 (pro) and hit the update button. It does some stuff and it says 'Unable to check for updates, please launch Visual Studio installer to check for update instead.'

I go to the visual studio installer folder (C:\Program Files (x86)\Microsoft Visual Studio\Installer) and run vs_installer.exe as admin and it doesn't work. More specifically it prompts me to update the visual studio installer first.. So I try that.

I press update and then...

That gets me caught in a loop of downloading/ verifying multiple times then failing to download the installation files.

It downloads and tries to verify multiple times ultimately resulting in it saying to 'Check your internet connection and try again'

The internet connection is fine during all of this. 

I have already run collect.exe and have a vslogs.zip file for this machine.

解决方案

Hi friend,

Welcome to the MSDN forum.

Please upload the vslogs.zip file to https://onedrive.live.com and share the link in here, that will help us analysis the detail failed reasons.

Meanwhile, you can check if there have any pending windows updates or not, install and restart the PC. Clean up the %temp% folder and temporarily disable any antivirus software and run the VS installer as administrator to test.

Delete the Visual Studio Installer directory to fix upgrade problems and close the VS installer, delete the VS installer directory like C:\Program Files (x86)\Microsoft Visual Studio\Installer and run the VS installer bootstrapper to try it again.

Best regards,

Sara


这篇关于无法更新视觉工作室2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆