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 Compile Behavior (Read 2183 times)
Aerouta
Junior Member
**
Offline


Posts: 16
Location: USA
Joined: Feb 16th, 2013
Compile Behavior
Jan 28th, 2016 at 4:56am
Print Post  
So I have recently upgraded to the latest version of VM and I am dealing with some of the changes that have been made over time. In the past if I was working on a project in VS and made changes to some files in the the arduino library I would, at the most, shut down VS and restart the project for the changes to take effect.

Now the only way I have been able to have the changes take effect is create a whole new project. Otherwise I get error messages associated with a library that as been deleted and is no longer "included" in the project, which seems nuts to me. This was the same for when I updated the pins_arduino.h files the the arduino installation directory. I continued to get the same error messages until I recreated the project.

Is there a way to recompile the code from scratch without having to recreate the project with a different file name? I am not very VS/VM savay.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compile Behavior
Reply #1 - Jan 28th, 2016 at 12:59pm
Print Post  
Hi,

Thanks for the post.

First of all the menu "Build>Clean Solution" clears the compiler cache for the current project which will avoid needing to recreate the project.

"Build>Rebuild" clears the project and library compiler cache which will help if you have only edited libraries.

Info

The change detection system should automatically be detecting the changes you describe so I will do some testing. You can  switch the new change detection off and revert to the older slightly less intelligent system but I suggest we look into the issue first because the older system was a little slower.

« Last Edit: Jan 28th, 2016 at 1:00pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Aerouta
Junior Member
**
Offline


Posts: 16
Location: USA
Joined: Feb 16th, 2013
Re: Compile Behavior
Reply #2 - Jan 29th, 2016 at 2:48am
Print Post  
Hello, thanks for the reply, seems to work
« Last Edit: Jan 29th, 2016 at 3:24am by Aerouta »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint