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

Status : 


Sign in
to vote
ID 524335 Comments
Status Active Workarounds
Type Bug Repros 1
Opened 1/11/2010 1:41:59 PM
Access Restriction Public


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.
Sign in to post a comment.
Posted by Microsoft on 2/2/2010 at 12:32 PM

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(