vscode更新时,报错 Failed to install visual Studio Code update. Updates may fail due to anti-virus softwa

vscode更新时,报错 Failed to install visual Studio Code update. Updates may fail due to anti-virus softwa

在这里插入图片描述

在这里插入图片描述

报错原因:vscode安装到了其他位置,更新时候检测c盘位置失败

解决方法:

1.找到:vscode在C盘的位置:C:Users\86150AppDatalLocal\Programs\Microsoft vs code\Code.exe
2.找到vscode真实存在的位置:vscode图标右键,打开文件所在位置
在这里插入图片描述
复制code.exe文件到c盘的位置
在这里插入图片描述
在这里插入图片描述
成功解决
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_45822938/article/details/123852780
今日推荐