ndabas / pico-setup-windows

Quickly get started with Raspberry Pi Pico/RP2040 on Windows
Apache License 2.0
299 stars 35 forks source link

VS Code update fails with "Access is denied." #22

Closed TPMoyer closed 1 year ago

TPMoyer commented 2 years ago

First off: Thank you for writing this script. Is WAY better than the many manual step alternative.

Small foible with the install. After opening the command prompt which sets in place the environment, using Visual Studio Code, and closing same... Visual Studio tries to peek for and install updates. This fails with VS Code Update Fail

How can I go in and change permissions to what series of directories to allow the updates to propagate through to success?

DanielTomlinsonSage commented 2 years ago

This might be a bit late, but in order to bypass this error you need to start VS Code as Administrator.

image

You can do this by:

Once launched you can check for updates under options and it should install any found without issue.

DanielTomlinsonSage commented 2 years ago

This issue can be closed.

ndabas commented 1 year ago

Thanks for documenting the issue and the fix! Closing.