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] 2  Send TopicPrint
Hot Topic (More than 8 Replies) VS2013: Missing Menus (Read 27483 times)
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
VS2013: Missing Menus
Oct 20th, 2013 at 3:49pm
Print Post  
Hi,

Yesterday I upgraded my development VM to Windows 8.1. Then this afternoon, installed VS2013, uninstalled 2012, and 'repaired' the install for Visual Micro.

I'm now seeing very similar behaviour, but not quite exactly the same as this thread:
http://www.visualmicro.com/forums/YaBB.pl?num=1381271140/1#1

If my addin is enabled then my menus all vanish except for the submenu parents (if that makes sense). If I disable the adding then all the menus appear but are all disabled (obviously). Doesn't seem to make any difference if an Arduino is actually plugged in or not.

Any ideas please? I've been through all the guides that I could find here for resetting the add-in, etc. and so far nothing has helped.

Screenshot of the problem (hopefully!):

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #1 - Oct 20th, 2013 at 3:55pm
Print Post  
This might be related to the fact that when we tested the 2013 version of vm we had 2012 installed on the pc.

I think that Microsoft have made a new version of some of their dlls for 2013, yet the 2012 dll versions also work in 2013 which was confusing for us! 

This is an area Microsoft often change which is why Visual Micro normally has a dll for each VS version. 

We will ship a new release shortly, in the meantime please make sure 2012 is installed and hopefully everything else will then work in 2013.

Thanks
  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #2 - Oct 20th, 2013 at 3:58pm
Print Post  
No worries - fortunately I had the foresight to create a snapshot of my virtual machine before uninstalling 2012 Cheesy
  
Back to top
 
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #3 - Oct 20th, 2013 at 4:14pm
Print Post  
Gotta love the manic eyes on that smiley....
  
Back to top
 
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #4 - Oct 20th, 2013 at 4:27pm
Print Post  
Hmm, actually just restored my snapshot to the point I have 2012 and 2013 installed and the problem is still there in both versions.

Sadly I didn't check if it still worked after installing w8.1
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #5 - Oct 20th, 2013 at 4:45pm
Print Post  
Maybe it's a different issue. 

Can you close all vs instances and then use task manager to ensure that no devenv.exe process are running. If they are then terminate them.

Then apply the /resetaddin switch to your short cut for vs and run vs to see if that has sorted the problem. After the reset you can remove the switch

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


Thanks
  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #6 - Oct 20th, 2013 at 4:48pm
Print Post  
Already tried all that on both versions several times. Already running as an administrator account but did "run as administrator" too just for good measure.

I'm just doing a "repair" of the VS2012 install so watch this space as they say...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #7 - Oct 20th, 2013 at 4:54pm
Print Post  
Hi,

Have you tried uninstalling visual micro and then running the install? Uninstall via control panel "add or remove programs>visual micro". It's cleaner than a repair
  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #8 - Oct 20th, 2013 at 5:05pm
Print Post  
Hmm, yes. I just did.

OK, so repair of VS didn't help. Repair of VM hasn't helped and still not working. I'm beginning to be at a bit of a loss now.

I've also started to get "Can't find localised resources" when I open my project as well but I've only just tried to open the project so I don't know at what point that started.

Going to take a break now!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #9 - Oct 20th, 2013 at 5:17pm
Print Post  
Hi Martin,

Sorry it's been so painful. I think we are looking at some sort of microsoft conflict between vs versions and I don't think the repair of VS is fixing the problem. 

Would you please take a look at this post and see if you feel it has any relevance

http://social.msdn.microsoft.com/Forums/en-US/066a72cc-112d-404d-b2a6-3c11e6f3b8...

Thanks
  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #10 - Oct 20th, 2013 at 5:56pm
Print Post  
Will do and report back later...

[EDIT] OK, not so sure it's directly likely to be related but it points me in the direction of the registry config so it's probably worth me backing up that registry section and then clearing the config section of the registry and letting it rebuild it. I can always re-apply the backup.

Other than that, I guess I can uninstall 2012 and then install it back again.
« Last Edit: Oct 20th, 2013 at 6:01pm by Martin W »  
Back to top
 
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #11 - Oct 20th, 2013 at 6:58pm
Print Post  
Is there any way I can get any logging info out of Visual Micro so I can try and work out if somethings tripping it up?

I'm at a complete loss at the moment VS2012 and VS2013 both seem pretty broken right now. It could quite easily not be much to do with Visual Micro but I'm not too sure how to tell what it is as I'm not seeing anything useful in Windows logs or otherwise...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #12 - Oct 20th, 2013 at 7:06pm
Print Post  
Maybe it's a problem with windows 8.1? All our machines were stolen during a break in a few days ago so we will surely have some 8.1 machines VERY soon.

Currently the only logging is via "tools>options>visual micro>user interface>trace", we might need to add something extra to find the problem.

Maybe we should step back a little and check your visual Micro Arduino paths? What paths (program and sketch folder) have you got configured and for which Arduino version (s)?

Thanks
  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #13 - Oct 20th, 2013 at 7:19pm
Print Post  
Sorry to hear that! (Well, not Windows 8.1 - I think Windows 8 / 8.1 is great, but not a good way to have to get them!!).

OK. I have no sketch path specified (it says it's optional). I have 'C:\arduino-1.0.5' entered for the path with the drop down option of 'Arduino 1.0.x' That's in 'Tools / Options / VM / General / Applications & Locations'

That path is valid and the standalone IDE works fine. For the blink test at least!

When I load my project up I hear the Windows 'Ping' noise but see no dialog so somethings dying somewhere during load of the project. Addtionally, this is what my solution tree looks like (note the application is not installed msg):

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #14 - Oct 20th, 2013 at 8:06pm
Print Post  
It's annoying about the equipment but no big deal. I have to sign off for today shortly but I have a few questions/observations. 

EDIT
I don't recognize any of that solution setup for Arduino. You image shwos two Csharp projects. Our projects are C++

1)
Can we test an arduino app by closing the solution you have open and using file>open to open the .ino from the blink example. What happens, are you prompted to create an arduino project?

2)
What is showing on the Tools>Visual Micro>Boards?

3)
Do you have the boards and serial ports tool bar? If so do you see the button with the "?"

Thanks
« Last Edit: Oct 20th, 2013 at 8:07pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #15 - Oct 20th, 2013 at 8:15pm
Print Post  
No worries - I'm probably going to go watch a film in a mo too Smiley

Sorry, I guess you wouldn't recognise that! 'Arduino Core' is an INO that resides on the Arduino and manipulates the unit under test from the digital I/O pins of a Mega. It also communicates over USB to the PC host.

CPULib is another INO but is basically a library of CPU functions and defines for each kind of CPU that can be manipulated (6502, Z80, Vectrex - not strictly a CPU!) - this is referenced and used by Arduino core.

Test App is the PC host end in primitive command line form.

So anyway...

1. Yes, I am prompted to open a project for sketch Blink. Closely followed by "Error: Exception from HRESULT: 0x80041FFF" and then an empty solution.

2. Nothing. A very slim empty rectangle just like you can just see in the screenshot of my first post (but that's serial port). Same for Boards and Programmers.

3. No. No Visual Micro tool bars or related gubbins at all.

So I think this is what the "The application is not installed" message means in my solution, that it doesn't seem to think Visual micro is installed!
Martin.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #16 - Oct 20th, 2013 at 8:28pm
Print Post  
Hi,

No Visual Studio doesn't know anything about a Visual Micro application. We simply use standard Visual Studio C++ applications. So the "Application not installed" message would suggest that the VS C++  module is not installed.

We also only ever see the Error: Exception from HRESULT: 0x80041FFF when the C++ module is not installed. 

From your good report and I see that Visual Micro is installed.

Can you confirm that C++ is installed? Maybe the Help>About window will confirm which C++ version?

Thanks
  
Back to top
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #17 - Oct 20th, 2013 at 8:35pm
Print Post  
Oh man! No, it's not!! (according to help)

Thing is, I don't recall ever being given the option of picking the languages like you used to be able to. And I seem to recall complaints when VS2012 first came out that you couldn't customise the install and you got everything whether you liked it or not. I wonder what's gone on then and why that's vanished. Remember this was a working install before I installed 2013 along side it.

OK, thanks VERY much for steering me in the right direction. I'll investigate what's happened to VC++ and report back when I've sussed it. I did untick "MFC" but that's because I couldn't care less about Foundation Classes I just want pure C/C++ only!
  
Back to top
 
IP Logged
 
Martin W
Junior Member
**
Offline


Posts: 12
Location: West Somerset, UK
Joined: Jan 29th, 2013
Re: VS2013: Missing Menus
Reply #18 - Oct 20th, 2013 at 10:13pm
Print Post  
OK, update...

Happy to report that after an uninstall of VS2012 and a re-install of VS2012 everything was back to normal with Visual Micro and my solution all working perfectly in both VS2012 and also VS2013.

Just for giggles i then did a snapshot of my Virtual Machine (did I mention I use OS X & Macs?) and then uninstalled VS2012. VS2013 broke as per my original post. I'm not going to draw any conclusions since I don't know how the plugin works and builds internally but it certainly looks from a lay-man's perspective like there's a dependency on VS2012 there whether intentional or not.

I would certainly like to uninstall VS2012 as it's a waste of a lot of disk space to have them both installed but until there's a solution I've reverted my snapshot so I can progress and will continue to have both installed until I hear otherwise.

Incidentally, I believe my lack of C++ was down to something I did right at the beginning. Just as I started to uninstall VS2012 I cancelled the uninstall as I'd remembered to do a snapshot. I think that messed up my install. Worth remembering - don't cancel a VS uninstall Tongue

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2013: Missing Menus
Reply #19 - Oct 21st, 2013 at 4:19pm
Print Post  
Great thanks for the update. 

The next release of Visual Micro will have a separate dll for VS 2013. As you have found the previous version shared the 2012 build system which appeared to work at the time and avoided the need for yet another VM compile (2008, 2010, 2012 2013).

Microsoft make me laugh (or cry), we can see that everything works fine in VS 2013 with the 2012 system. Yet without 2012 installed it doesn't work.

So now I have to compile the same code 4 times and have to test VM in 4 different versions of Visual Studio prior to a new version release.

Maybe I should be thankful that a new project and a compilation is all that is required!

Thanks for the update.
  
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint