[英]Windows VS Code (User) installed in Program Files
Some time back I was prompted to move from the System-wide VS Code to the VS Code User installer.前段时间我被提示从系统范围的 VS Code 转移到 VS Code 用户安装程序。 I made the change but I find that the install is in the Program Files directory.我进行了更改,但我发现安装位于 Program Files 目录中。 This causes a problem when it checks for updates.这会在检查更新时导致问题。 I constantly get an error dialog saying:我经常收到一个错误对话框说:
An error occurred while trying to create a file in the destination directory:
Access is denied.
This is annoying.这很烦人。 I am not sure why it installed into the Program Files directory.我不知道为什么它安装到 Program Files 目录中。 Everything I have read says it should automatically install in the \\Users directory.我读过的所有内容都说它应该自动安装在 \\Users 目录中。
I can try uninstalling and reinstalling but I don't really want to go through the hassle of figuring out (again) which extensions to add if I don't have to.我可以尝试卸载并重新安装,但我真的不想经历(再次)找出不需要添加哪些扩展的麻烦。 Plus, I don't have any confidence that a reinstall will have any different effects.另外,我不相信重新安装会产生任何不同的效果。
Are there any alternatives?有没有其他选择?
You can uninstall it and then use the portable archive version of VSCode.您可以卸载它,然后使用 VSCode 的便携式存档版本。
See the Download page and click on .zip 64 bits
.请参阅下载页面并单击.zip 64 bits
。
Once uncompressed anywhere you want, that version of VSCode will be able to update itself without issue.一旦在您想要的任何地方解压缩,该版本的 VSCode 将能够毫无问题地自行更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.