'External component has thrown an exception' in VS2012


Hi Nanang,

getting this error a lot in 2012 running 1.3 when trying to launch after right-clicking on items in Solution Explorer.


Microsoft Visual Studio


External component has thrown an exception.

at Outstance.VsShellContext.ShellContextMenu.IContextMenu.QueryContextMenu(IntPtr hmenu, UInt32 iMenu, UInt32 idCmdFirst, UInt32 idCmdLast, CMF uFlags)

at Outstance.VsShellContext.ShellContextMenu.ShowContextMenu(Point pointScreen)

at Outstance.VsShellContext.ShellContextMenu.ShowContextMenu(FileInfo[] files, Point pointScreen)

at Outstance.VsShellContext.VsShellContextPackage.MenuItemCallback(Object sender, EventArgs e)



nanangp wrote Oct 12, 2012 at 10:32 AM

If you retry the same file when that happens, does it keep happening, or does it usually work the 2nd time around?

flcdrg wrote Oct 13, 2012 at 1:53 AM

Doesn't seem to work subsequent times either.

I can try other files and sometimes those work, but it's hit and miss