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 VS2019 16.8.2 'in-IDE' Git commit feature doesn't work with .INO files (Read 1055 times)
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
VS2019 16.8.2 'in-IDE' Git commit feature doesn't work with .INO files
Dec 3rd, 2020 at 4:18pm
Print Post  
Don't know if this is a real bug or not.  I just noticed that the new 'in-IDE' Git commit feature of VS2019 16.8.2 doesn't work with .INO files.  



I happened to notice this because I was working on a combined C# and Arduino project where a Sparkfun Pro Micro is used to provide information to a  Windows 10 C# program via USB/Serial.  I have separate Git projects for both programs and decided to try the new 'in-IDE' Git commit feature.  Works fine for the C# project, but produces a fatal error for the Arduino project because it can't find (or open, not sure which) the ".vs/ShotCounter/v16/Browse.VC.opendb" path.

Anyone else seeing this?

Frank


  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: VS2019 16.8.2 'in-IDE' Git commit feature doesn't work with .INO files
Reply #1 - Dec 3rd, 2020 at 5:23pm
Print Post  
Thanks for the report.

I would expect this file to be in the .gitignore already in honesty.

Does the error go away if you right click on the file and select ignore?
  
Back to top
 
IP Logged
 
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
Re: VS2019 16.8.2 'in-IDE' Git commit feature doesn't work with .INO files
Reply #2 - Dec 3rd, 2020 at 9:09pm
Print Post  
Thanks for the quick reply.  Well, sorta.  I opened the C:\Users\Frank\Documents\Arduino\ShotCounter\.vs\ShotCounter\v16 folder, but all I saw was 'Browse.VC.db', not the 'Browse.VC.opendb' referred to in the error message.  However, when I right-clicked on 'Browse.VC.db' and selected 'ignore', then the 'in-IDE' commit completed successfully.

When I looked back into the C:\Users\Frank\Documents\Arduino\ShotCounter\.vs\ShotCounter\v16 folder, I saw that three other files had been created in addition to 'Browse.VC.db'; 'Browse.VC.db-shm', 'Browse.VC.db-wal', and 'Browse.VC.opendb' (the subject of the original error message).  Curioser and curioser.

I've never had to manually ignore any files before, and as I mentioned, I have always been able to successfully commit Arduino projects using the normal context-menu Git functions.  Any ideas?

TIA,

Frank
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: VS2019 16.8.2 'in-IDE' Git commit feature doesn't work with .INO files
Reply #3 - Dec 4th, 2020 at 12:29pm
Print Post  
Thanks for the detail, and glad it improved the situation.

Just to check, when you say "I have always been able to successfully commit Arduino projects using the normal context-menu Git functions", were these Visual Micro Arduino projects?
  
Back to top
 
IP Logged
 
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
Re: VS2019 16.8.2 'in-IDE' Git commit feature doesn't work with .INO files
Reply #4 - Dec 4th, 2020 at 2:11pm
Print Post  
Yes, all of them
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint