microsoft / devkit-sdk

Arduino library and package for the MXChip IoT DevKit
https://aka.ms/devkit
MIT License
69 stars 52 forks source link

Cannot create directory when opening sample #1082

Closed sarbjitsg closed 3 years ago

sarbjitsg commented 3 years ago

Greetings Based on the URL ,https://docs.microsoft.com/en-us/samples/azure-samples/mxchip-iot-devkit-get-started/sample/, in the section "Open sample code from sample gallery", clicking "Open Sample" gives the following error in the output tab of Visual Studio Code:

image

Pre-creating this directories also does not work. Not found any response on this especially it being an extension. Source of the error as shown in the .png is Azure IoT Devices Workbench (Extension).

SS

sarbjitsg commented 3 years ago

Solved. I was creating the project folder in c:\users\user\documents and that did not work and I suspect is a permission issue. Created in c:\temp and all works :)

Set the C:\temp in the extension settings. Then did the Open Sample and it worked.