Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Page Index Toggle Pages: 1
Send Topic Print
Can not find file when adding library to code (Read 132 times)
Waleed El-Badry
Junior Member

Waleed El-Badry

Posts: 6
Can not find file when adding library to code
Mar 14th, 2019 at 11:04pm
Whenever I try to add any library using Add library from the menu, it is always highlighted in red and thus I can not use intellisense for methods completion. The code can be compiled if functions were written correctly. Also if I close the project and reopen it, the library is recognized.

I tried rescan toolchain but unfortunately it is not able to detect any inserted new libraries unless I close the project. Any help is appreciated. Thanks

Back to top

Waleed El-Badry MSc., MCPD , CLAD
PhD Candidate, Assistant lecturer in Mechatronics Department
Misr University for Science and Technology
Waleed El-Badry wbadry  
IP Logged
Visual Micro

Posts: 9796
United Kingdom
Re: Can not find file when adding library to code
Reply #1 - Mar 16th, 2019 at 12:04pm
I haven't seen this before where the solution has to be closed before intellisense re-validates the c++ project.


1) Which version of visual studio 2017 are you using. You can see the full build/version number in help>about

2) If you have two projects in your solution and add a library to one of them does the problem resolve itself?

Back to top
IP Logged
Page Index Toggle Pages: 1
Send Topic Print