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 Unable to create menu item for board XXX (Read 3612 times)
VPapp
Newbies
*
Offline


Posts: 2
Joined: May 7th, 2013
Unable to create menu item for board XXX
May 7th, 2013 at 12:29pm
Print Post  
Hello,

I could install the latest beta version of the plugin, however the 'Arduino Boards' and the comm ports lists are empty, and I couldn't create an Arduino project. 
Also if I select the menu items 'Tool>Options>Visual Micro' and after clicking the OK button getting the following error:

"Unable to create menu item for board Arduino Uno, Name=uno" and the same error message for all the boards.

detailed:
/Visual Micro: Deleting - UI Menu-Board-Items System.NullReferenceExeption at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshCommandBarBoards()/

The latest stable version works fine.

I'm using:
Microsoft Visual Studio Professional 2012
Version 11.0.60315.01 Update 2
Microsoft .NET Framework
Version 4.5.50709

Win7 x64

Best,
Viktor
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to create menu item for board XXX
Reply #1 - May 7th, 2013 at 12:47pm
Print Post  
Hi, Arduino 1.5x will be supported in the version due over the next week. In the meantime please use 1.0.4

Thanks
  
Back to top
WWW  
IP Logged
 
VPapp
Newbies
*
Offline


Posts: 2
Joined: May 7th, 2013
Re: Unable to create menu item for board XXX
Reply #2 - May 8th, 2013 at 11:15am
Print Post  
Hello,

I'm currently using Arduino 1.0.4, not 1.5. 
Any other suggestion?

Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to create menu item for board XXX
Reply #3 - May 8th, 2013 at 4:58pm
Print Post  
Oh, looking again at the error. This is not an arduino boards issue but a Visual Studio command bar / menu item problem.

Please add the following text to the end of the shortcut you use to run VS 2012, then run VS 2012 which should correct the problem (i hope). 

Quote:
/resetaddin Visual.Micro.Visual.Studio.Arduino.Helper


The shortcut will point to "/[somepath]/devenv.exe" and will become

Quote:
"/[somepath]/devenv.exe" /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper


Please remove the text from the shortcut after this test
« Last Edit: May 8th, 2013 at 5:00pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint