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 New class not added to build (Read 2102 times)
Acuario
Full Member
***
Offline


Posts: 235
Location: Spain
Joined: Aug 28th, 2015
New class not added to build
Dec 7th, 2017 at 4:01pm
Print Post  
Hi, 
if I add a new .h and .cpp to my project I get the correct templates and files added. When I build the project the new file is not included in the build (so I get errors as the contained class isn't built or linked).

The same happens if I exclude a file from the project and then later include the file (cpp files). Closing VS and re-opening it again adds the file.

A check of the 'Building project code ...' from the verbose output does not show the file, neither is it included build \Release folder. Interestingly files that have recently been excluded do get copied to the \Release folder (checked after a clean) but it seems they don't get built (no .o file is created for them).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New class not added to build
Reply #1 - Dec 23rd, 2017 at 12:58pm
Print Post  
which IDE are you using?
  
Back to top
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 235
Location: Spain
Joined: Aug 28th, 2015
Re: New class not added to build
Reply #2 - Jan 15th, 2018 at 7:18am
Print Post  
Hi,
the IDE is Visual Studio Enterprise 2017 V15.5.0
Visual Micro V1711.19.0
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New class not added to build
Reply #3 - Jan 15th, 2018 at 12:38pm
Print Post  
Ok will fix in the next build over next week or so.

probably workaround: Add a new dummy arduino project to your solution then if you get a problem click between the two projects and the cache should clear. Might need to try to build the dummy.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint