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 On build it reports that it cannot save Intellisense info ... (Read 5607 times)
BobSelby
Newbies
*
Offline


Posts: 6
Location: London
Joined: Dec 10th, 2014
On build it reports that it cannot save Intellisense info ...
Oct 18th, 2016 at 10:37am
Print Post  
I have an Arduino project that builds OK under the Arduino IDE and also under VS2015(comunity) + VM(latest).

However, when building under VS+VM it complains that it cannot save the Intellisense info (it does save changes to the source file however!).

The sources are on a network share which I suspect may be the cause of the problem.

Are there any known issues with this or workarounds perhaps??

TIA
Bob
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: On build it reports that it cannot save Intellisense info ...
Reply #1 - Oct 18th, 2016 at 12:19pm
Print Post  
Hi

I have only seen that error if the same project is already open in another instance of Visual Studio.

Could that be the case?

Thanks
  
Back to top
IP Logged
 
BobSelby
Newbies
*
Offline


Posts: 6
Location: London
Joined: Dec 10th, 2014
Re: On build it reports that it cannot save Intellisense info ...
Reply #2 - Oct 24th, 2016 at 2:42pm
Print Post  
That is definitely NOT the case.

The only thing I can think of is that the project files are on a NAS share and its somat to do with permissions. But all files and directories on that share are 0777 and it saves the .ino file and other files OK.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: On build it reports that it cannot save Intellisense info ...
Reply #3 - Oct 24th, 2016 at 3:00pm
Print Post  
Yes its strange. Vs is responsible for the intellisense which happens in the fallback location defined in tools options.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: On build it reports that it cannot save Intellisense info ...
Reply #4 - Nov 7th, 2016 at 8:12pm
Print Post  
I have thought about this some more. I think the intellisense fallback location in the standard VS options must be invalid in your config.

Visual Micro attempts to use the fallback location by default however you can stop that happening.

set "Tools>Options>Visual Micro>User Interface>Intellisense Fallback Location" = False

This will then be how Visual Studio works normally which means a \pch folder will be created below each sketch/project by visual studio. The \pch folder will contain the intellisense cache and shouldn't be a problem.
  
Back to top
IP Logged
 
BobSelby
Newbies
*
Offline


Posts: 6
Location: London
Joined: Dec 10th, 2014
Re: On build it reports that it cannot save Intellisense info ...
Reply #5 - Nov 28th, 2016 at 11:44pm
Print Post  
I tried that suggestion but sadly any attempt to change the value to "false" causes it to flick back to "true"!!!

I can change other settings on that config page --- just not that one!

Could it be because I am using the "Comunity" (free) version ?

Regards,
Bob
« Last Edit: Nov 30th, 2016 at 7:08pm by BobSelby »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: On build it reports that it cannot save Intellisense info ...
Reply #6 - Nov 30th, 2016 at 11:56pm
Print Post  
Thanks for the post. The latest release fixes a bug saving the changes to the "Use Fallback" setting. Ooops!
  
Back to top
IP Logged
 
BobSelby
Newbies
*
Offline


Posts: 6
Location: London
Joined: Dec 10th, 2014
Re: On build it reports that it cannot save Intellisense info ...
Reply #7 - Dec 5th, 2016 at 9:02am
Print Post  
Excellent - the latest version fixed the issue Smiley
Many thanks!!
Dave
« Last Edit: Dec 7th, 2016 at 12:47am by BobSelby »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint