Home Dashboard Directory Help
Search

Events.get_CommandBarEvents exception on submenus: reproducible bug (Addin) by vaucouleur


Status: 

Active


2
0
Sign in
to vote
Type: Bug
ID: 524335
Opened: 1/11/2010 1:41:59 PM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description


We are working in the context of an addin on VS2010.

Events.get_CommandBarEvents throws an exception on sub-menus:

System.Runtime.InteropServices.COMException (0x80020003) .. DISP_E_MEMBERNOTFOUND


This bug is deterministic and very easily reproducible on VS2010 4.0.21205 RC1Rel, using the minimalist example in this bug report.

No exception is thrown when running the same code on VS2008. This is clearly a VS2010 EnvDTE bug.
Details
Sign in to post a comment.
Posted by Microsoft on 2/2/2010 at 12:32 PM
Hello,

As discussed in our email correspondence (and after confirming that you have found a workaround), I will be closing this bug as "Won't Fix" as we will not be fixing this for the Visual Studio 2010 release. We will, however, track this for fixing in a future release.

Thank you,
Suzanne Hansen, Program Manager, Visual Studio Platform Shell team
Posted by Microsoft on 1/12/2010 at 4:04 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
Connect.cs (restricted) 1/11/2010 -