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 How to turn off saving the project on each compile (Read 846 times)
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
How to turn off saving the project on each compile
Sep 9th, 2020 at 12:08pm
Print Post  
Every time I built the project it is saved.
I am using a version controller, which creates new files when they have been changed. So, during a day (or night), I get 100's of changed version files.
Is it possible to turn off autosaving? (In the Arduino IDE, it is disabled.)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to turn off saving the project on each compile
Reply #1 - Sep 9th, 2020 at 4:18pm
Print Post  
Hi,

Can you please confirm that after each build the date times of the ".vcxproj" files in the project folder have changed?

If so please zip and email your vcxproj files or attach here.

Thanks
  
Back to top
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: How to turn off saving the project on each compile
Reply #2 - Sep 9th, 2020 at 6:41pm
Print Post  
It appears that just the ino file is saved on each compile, unfortunately in the sketchboook directory.

If in Arduino IDE the auto save is disabled, all the compiler files are put to the temp directory, and only on explicitly saving the ino file located in the sketchbook directory is being updated.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: How to turn off saving the project on each compile
Reply #3 - Sep 15th, 2020 at 12:21pm
Print Post  
Any comment on that issue?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2709
Joined: Feb 13th, 2019
Re: How to turn off saving the project on each compile
Reply #4 - Sep 15th, 2020 at 1:46pm
Print Post  
The INO is saved on each build to the sketchbook folder as this is the file which is built.   

There are currently no options to change this.  What version control system are you using out of interest?
  
Back to top
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: How to turn off saving the project on each compile
Reply #5 - Sep 15th, 2020 at 2:01pm
Print Post  
I am using 
https://beanland.net.au/autover/
It is not widely used, but it works very easy and reliable.
I could disable the Watcher there within, but that's less convenient since one easily forgets to switch it on again. 
In Arduino IDE, if I switch off "saving on each compiling",  but before exiting I am being asked to save or not to save. 
Would be nice to have that in Vmicro...

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to turn off saving the project on each compile
Reply #6 - Oct 14th, 2020 at 5:11pm
Print Post  
This Topic was moved here from Installation & Troubleshooting [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint