Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic System.IO.DirectoryNotFoundException: error (Read 898 times)
johnnyg
Newbies
*
Offline


Posts: 8
Joined: Dec 25th, 2019
System.IO.DirectoryNotFoundException: error
Nov 23rd, 2020 at 3:21am
Print Post  
Hello, I am trying to build a simple NodeMCU 1.0 project in VisualStudio and I can't get past the following error.
System.IO.DirectoryNotFoundException: Could not find a part of the path \libraries'.

The folder \libraries does not exist in the path ..\esp8266\2.7.1\
I also get multiple E1696 intellisense errors.

Attached is the verbose output log file

-TIA
John

VisualMicro 2020.910.8
VS Community 2019
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2170
Joined: Feb 13th, 2019
Re: System.IO.DirectoryNotFoundException: error
Reply #1 - Nov 23rd, 2020 at 2:19pm
Print Post  
Thanks for the report, it sounds like the core is not fully installed for some reason if the libraries folder is missing at that location.

Could you try removing the esp8266 v2.7.1 platform, and then install it again?
(Alternatively upgrade it to the latest esp8266 core)

https://www.visualmicro.com/page/User-Guide.aspx?doc=Board-Manager.html
  
Back to top
 
IP Logged
 
johnnyg
Newbies
*
Offline


Posts: 8
Joined: Dec 25th, 2019
Re: System.IO.DirectoryNotFoundException: error
Reply #2 - Nov 25th, 2020 at 2:55am
Print Post  
Ultimately this worked.  For some reason the newest version listed in VM was only 2.71. Removing and reinstalling did nothing.  Back in Arduino I found the additional board manager URLs field was cleared.  I re-entered https://arduino.esp8266.com/stable/package_esp8266com_index.json and went back to VM and 2.7.4 was now listed.  Installed and now seems to be good.  Going to test some of my other applications now.

Thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint