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 Changing location of Arduino project files in VS (Read 5100 times)
birdman
Junior Member
**
Offline


Posts: 20
Joined: Sep 24th, 2016
Changing location of Arduino project files in VS
Sep 24th, 2016 at 3:11am
Print Post  
Hello, VS-2015 and Arduino plugin installed and seems working fine. Yet, during installation I did not see anywhere prompting to enter location for the user projects. Currently setup shows 
C:\Users\USERNAME\Documents\Visual Studio 2015\Projects
as project location but my projects are not saved there. Setup apparently misleading. Instead they are saved in the location of my Arduino libraries which were found by VS during installation probably directory got "known" from Arduino config files.
1st question: how to force VS to save to the location which is shown in VS setup file?
and 2nd question: can I also change that setup project location and make it default for all my future projects?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Changing location of Arduino project files in VS
Reply #1 - Sep 26th, 2016 at 5:56pm
Print Post  
Hi,

Sorry for the delayed response.

There are two answers:-

1) In the Arduino world we have a setchbook folder which is normally documents\arduino. This folder is used when you use the Visual Micro Open Arduino project or New Arduino project commands which are menu items outside of the standard Visual Studio File>New>Project or File>Open>Project commands. The sketch book folder can be changed in the Visual Micro Ide Locations dialog or in the Arduino IDE File>Preferences

2) If you use the standard Visual Studio File>New>Project or File>Open>project commands which also open or create Visual Micro projects then you should be looking in Tools>options which is where all standard Visual Studio settings are configured. When using the standard Visual Studio system you can look in the standard Visual Studio Help system or on the internet for guidance. Visual Micro does not affect these commands or how they work. Some versions of Visual Studio remember where you last saved or open and change the default automatically.

This is a link to a Microsoft help page that explains how to change the default location https://msdn.microsoft.com/en-us/library/34c29fes%28v=vs.100%29.aspx?f=255&MSPPE...

  
Back to top
IP Logged
 
birdman
Junior Member
**
Offline


Posts: 20
Joined: Sep 24th, 2016
Re: Changing location of Arduino project files in VS
Reply #2 - Sep 26th, 2016 at 8:19pm
Print Post  
Thank you very much Tim for a complete answer.
I've read that link you provided for VS options and was expecting file to be created in that location although I used visual micro plugin to create Arduino project ... now I know that plugin setup overrides VS option.
Thanks again
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Changing location of Arduino project files in VS
Reply #3 - Sep 27th, 2016 at 12:14pm
Print Post  
Hi,

The plugin only overrides the VS setup when using the Vm menu items. File>New>Project and File>Open>Project should not be overridden?
  
Back to top
IP Logged
 
birdman
Junior Member
**
Offline


Posts: 20
Joined: Sep 24th, 2016
Re: Changing location of Arduino project files in VS
Reply #4 - Sep 27th, 2016 at 3:25pm
Print Post  
Yes I understand that, thank you.
Stepping aside from the topic - is there way to find the "name" of the property to change font's color in the option menu.
I can't see highlighted tag during the search as the highlighted font color blends with background yet whatever I change in the setup is not THAT...
May be there is way to find the "name" of the highlighted item as it is called in VS setup ? Can't even guess what category it is - "C++" ? Just "text"? ........
PS... Should I post this as a separate post for other people?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Changing location of Arduino project files in VS
Reply #5 - Sep 27th, 2016 at 3:31pm
Print Post  
Hi,

Finding VS colors isn't easy. Yes a new thread might be easier then I can look for some pointers for you.

Did you also try the arduino c++ theme that Visual Micro installs. 

Are you using the light or dark VS?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint