vscode 升级时失败 win10

本文针对VSCode更新过程中出现的错误进行了分析,并提供了详细的解决步骤。主要包括关闭杀毒软件、添加VSCode到信任区及使用杀毒软件自带的软件管家进行安装等方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述

当升级vscode时出现下方报错:

There was an error while marking a file for deletion:

Failed to mark file for deletion:拒绝访问.

Please verify there are no Visual Studio Code processes still executing
Failed to install Visual Studio Code update.

Updates may fail due to anti-virus software and/or runaway processes. 
Please try restarting your machine before attempting to update again.

Please read the log file for more information:

分析

根据报错我们可以知道 vscode 与 杀毒软件 发生冲突 (due to anti-virus software and/or runaway processes)

解决方法

1 关闭杀毒软件重新安装vscode

在这里插入图片描述
在这里插入图片描述

2 将vscode文件夹添加到信任区(不同杀毒软件操作不同)

在这里插入图片描述

3在杀毒软件自带的软件管家下载vscode

在这里插入图片描述

问题解决

在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值