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 Setting users library folder location (Read 1466 times)
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Setting users library folder location
Dec 6th, 2021 at 10:34am
Print Post  
I just installed VM on a new Windows 11 machine and it has set the users library folder to a folder that is backed up by OneDrive. 

When I open Micro Explorer I can go to the folder by clicking on the 'View the user libraries folder' link at the bottom of the Library Manager tab.

I don't want it there but I can't find any setting that I can use to change the location.

Where is the setting located?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Setting users library folder location
Reply #1 - Dec 6th, 2021 at 4:01pm
Print Post  
With Arduino the user libraries folder is always a sub folder of the sketch book folder. Therefore by default, it is documents/arduino/libraries.

We are considering expanding the functionality so allow for multiple library folders but currently we do same as Arduino.

More info, maybe of no use...

In Visual Micro it is also possible to use specific versions of libraries for one or more projects, these can be located anywhere. For that, you need to use the shared library project facility (see the add code menu). Shared libraries are an advanced feature, unless manually moved, they "fix" a project to use a specific version of a library and from a specific location. They are powerfull but need to be used carefully.
  
Back to top
IP Logged
 
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Re: Setting users library folder location
Reply #2 - Dec 7th, 2021 at 5:00am
Print Post  
Ok, that answered my question in a round about way.

From the Arduino IDE changing the sketchbook location in the preferences achieves what I wanted to do and I now have my libraries located in a folder of my choosing.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint