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 Add Library Functionality and #includes (Read 931 times)
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Add Library Functionality and #includes
Oct 14th, 2022 at 10:47am
Print Post  
Something else I have experienced, but has nothing to do with this. 

The add libraries is working like a kind of database. when an old library that has been updated, The #include in the library is is not been updated sometimes. I delete the line #include and and import the lib and copy it over the other code line #include that was still in use by an other library, because it was referring to an old location. Maybe it is because a pragma or #ifndef in the header, I don't know.
« Last Edit: Oct 14th, 2022 at 11:03am by Simon@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Add Library Functionality and #includes
Reply #1 - Nov 18th, 2022 at 9:15pm
Print Post  
This is because you had clone + versioning enabled. 

Remove the older shared project reference from "Solution explorer>Project>References".

Shared projects are added as shared project references using the standard Visual Studio project references facility. You can manage the references yourself or switch off library versioning.

fyi: In recent releases of Visual Micro 2.0, we have updated visual micro so that when cloning is switched off versioning is also switched off. It seemed to cause confusion for obvious reasons.

Thanks for the post
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint