I've been having trouble when updating Visual Studio Code. Whenever I try to update there are files in the resource directory that are locked and block the installation. The installation is not rolled back but is corrupted. This happens whether I use either the system or user installer. I can't delete the files even with Administrator permissions and I have to do a lot of manual work including rebooting the computer to remove the corrupted installation.
If there are files that continue to be used by some process the process has no recognizable name. On the latest upgrade attempt the following files are locked :
\resources\app\out\vs\platform\files\node\watcher\win32\CodeHelper.exe \resources\app\node_modules.asar.unpacked\vscode-ripgrep\bin\rg.exe This is in my personal AppData directory, not a system directory. I need to log off and back in again before I can delete these files and do a clean install.
I have Windows Defender and Malwarebytes running on this computer.
This is driving me nuts since it is ruining the experience of using an otherwise great product. There are too many updates for this to be endured. Any advice or ideas would be greatly appreciated.