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 Starting Visual Micro No Toolbar Sometimes (Read 3929 times)
SwitchDIP
Newbies
*
Offline


Posts: 2
Joined: Jan 20th, 2016
Starting Visual Micro No Toolbar Sometimes
Jan 23rd, 2016 at 3:05pm
Print Post  
I need some help to know if this is normal behavior before spending any time to fix it. Using Visual Micro Pro, Visual Studio 14, Arduino IDE 1.6.7. If I open an .ino file created elsewhere, sometimes Visual Studio asks if I want to create a project file. Answering yes does that and all is well. Tool bar all there.

Other times opening a .ino file VS14 does not ask if I want to create a project and imports the ino, but the toolbar for Visual Micro is mostly blank, no board selection, no debugger, build and upload icons greyed out. Workaround is to open a new project using the Arduino project template, add an existing item (the ino to open), then removing the blank new ino created with the new project. If normal then fine but a nuisance.

Basic question is do you have to have a project associated with the .ino file for Visual Micro to function in Visual Studio?

Sorry if this is more of a Visual Studio thing but have to start somewhere.

Much thanks for any guidance.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Starting Visual Micro No Toolbar Sometimes
Reply #1 - Jan 23rd, 2016 at 4:00pm
Print Post  
Hi,

There are a couple if requirements to consider:-

1) Requirement to be able to open an existing .ino and create/open an existing project for it.

2) Open an existing .ino simply to review/copy the code.

When you open a .ino file directly Visual Micro looks to see if you already have a solution open. (Even an empty solution will currently be classed as having a solution open)

1) If a solution is not open then you are prompted to create a new project for the Arduino code.

2) If a solution is open then .ino files are opened not as projects but as simply source code files for review/copy.

Toolbars

The toolbar appearing/disappearing is optional. 

The Window menu has options that allow you to control this behavior. 

I think your current setting is that the bar only appears when Visual Micro believes that an Arduino Project is open and active.


Hope this makes sense
« Last Edit: Jan 23rd, 2016 at 4:01pm by Tim@Visual Micro »  
Back to top
IP Logged
 
SwitchDIP
Newbies
*
Offline


Posts: 2
Joined: Jan 20th, 2016
Re: Starting Visual Micro No Toolbar Sometimes
Reply #2 - Jan 24th, 2016 at 3:31am
Print Post  
Hey,

Thanks for taking the time to respond. I found the two options under window menu, both about auto hide for the tool bar. You were right about it having to have project recognized as and Arduino project to get the toolbar. The mistake I was making was going file, open, file, then selecting .ino file. Correct way is to go file, open, open Arduino project, then select .ino file.  Kind of a dumb mistake but I just didn't connect there was a difference.

Thanks much again, I'm on my way now.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Starting Visual Micro No Toolbar Sometimes
Reply #3 - Jan 24th, 2016 at 2:45pm
Print Post  
Thanks for the update. It's a good point to make clearer in the docs.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint