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 Duplicate Project menu items in VS 2008 (Read 4036 times)
Gregory Braun
Newbies
*
Offline


Posts: 1
Location: Brookfield, WI  U.S.A..
Joined: Aug 3rd, 2013
Duplicate Project menu items in VS 2008
Sep 6th, 2013 at 2:19pm
Print Post  
Every time I launch Visual Studio 2008 the Project menu
gets another pair of Upload Last Sketch Build & Show All
Sketch Files menu options added to it.

I've written a small batch script to reset the VM
environment, but I need to run the batch script
every couple of days to clean up the Project menu. 

What gives? Am I doing something wrong,
or is this a bug? 

Also shouldn't the "Upload Last Sketch Build" option
be titled "Upload Last Sketch Built" instead. 

I've just downloaded the latest release of VM Arduino
for Visual Studio (Sep 5, 2013) and the Project menu
bug is still there. 

-gb-
« Last Edit: Sep 9th, 2013 at 7:59pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload Last Sketch Build & Show All Sketch Files items added to the VS Project menu each time I run
Reply #1 - Sep 6th, 2013 at 2:33pm
Print Post  
Hi,

1)

Every so often users get this normally with the File menu. Visual Micro has to ask Visual Studio if a menu item exists already before it is created. Visual Studio is saying that it does no when we know it does.

There are sometimes things we can do to get around this problem. For example the File menu also suffers from the problem but we recently added some code to try to detect the problem other wats. for the next release we will try the same for the Project menu

Workarounds

In the latest release of Visual Micro you will see the "Tools>Visual Micro>Reset User Interface" menu item. This cleans up the Visual Micro user interface and we are recommending it be run once after upgrading to 1309.04+. This is because there have been some menu syntax changes but probably won't fix your problem. It will remove duplicates but you have created a script for that anyway.

There is one thing you can do not to fix but to hide the problem. Change your VS 2008 shortcut to include the "/resetaddin" command. This will clean the visual micro interface each time vs 2008 starts. Not ideal but an option. 

Shortcut Example

[path to devenv.exe] /resetaddin Visual.Micro.Visual.Studio.Arduino.Helper

...

2)

As an aside, I noticed a bug in VS 2008 with the latest release. An intellisense message (C++ Compiler Error) appears when you first start or change board. This will be fixed in a service release over the next few days and prevents intellisense from working fully.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Duplicate Project menu items in VS 2008
Reply #2 - Sep 9th, 2013 at 7:57pm
Print Post  
Hi, would you please upgrade to sp2 of Visual Micro, it is the main download on visualmicro.com

We will try to fix this issue properly in the next release however  sp2 might help. Interested to know if any different.
« Last Edit: Sep 9th, 2013 at 8:00pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint