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 Don't save before building (Read 3889 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Don't save before building
Apr 30th, 2014 at 6:07pm
Print Post  
Hi,

I would like not to save before building or building/downloading in some circumstances.

I checked in the Options for AtmelStudio 6.1 and found out under Projetcs and Solutions > Build and Run the setting named 'Before Building'. I changed the value to 'Don't save any changes' and thought I was in business... Well not  Shocked. Event though I ask not to save, the file is saved.

Is it a bug in 6.1 ?

Thanks

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Don't save before building
Reply #1 - Apr 30th, 2014 at 6:32pm
Print Post  
No it is simply that the undo system in vs is so good and that anyone who also wants to use to the external upload of arduino or their own custom build process needs the file on disk. 

That said it can still be added as a feature of a future release

Thanks
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: Don't save before building
Reply #2 - Apr 30th, 2014 at 6:47pm
Print Post  
Quote:
No it is simply that the undo system in vs is so good

Absolutely ! Being able to undo after a Save is quite good.

Quote:
needs the file on disk

Oh I see, no way to build if the file is not on disk  Sad.

Here is when I wish not to save before building (not building and upload). The code is considered finished, but before I want to do a last test, I want to get rid of commented code, code conditionally compiled, calls to Serial.print (even though I have the debugger, in some occasions I prefer to use Serial.print)... In short the big clean-out. The way I would like to do it is remove part of the stuff, just build to see if I removed something I should not have to, remove, test build... until it's finished. If I break something, I just don't save. But the undo system may be not so bad after all  Wink.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Don't save before building
Reply #3 - Apr 30th, 2014 at 7:26pm
Print Post  
Understood, might be useful to keep your "non-production" version in a backup folder anway
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint