Repros on high definition and 200% scaling. The exception is handled and the message displayed in a message box (VS does not crash). Here are the contents of the stack at the moment the exception is thrown:
mscorlib.dll!System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(int errorCode) + 0x10 bytes
Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.NativeMethods.ThrowOnFailure(int hr, int[] expectedHRFailure) + 0x30 bytes
Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.Shell.OleMenuCommandService.ShowContextMenu(System.ComponentModel.Design.CommandID menuID, int x, int y) + 0xa6 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.ShowContextMenu(System.ComponentModel.Design.CommandID contextMenuId, System.Drawing.Point pt) + 0x47 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.OnContextMenuRequested(Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs mouseArgs) + 0x72 bytes
Microsoft.Data.Entity.Design.Package.dll!Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignDocView.OnContextMenuRequested(Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs mouseArgs) + 0x26 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.DesignerMouseUpEvent(object sender, Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs mouseArgs) + 0x44 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.VSDiagramView.OnContextMenuRequested(object sender, System.Windows.Forms.MouseEventArgs e) + 0x43 bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.OnContextMenuRequested(System.Windows.Forms.MouseEventArgs e) + 0x24 bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.OnWmContextMenu(ref System.Windows.Forms.Message message) + 0x52c bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.WndProc(ref System.Windows.Forms.Message m) + 0x6e bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Control.SendMessage(int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x21 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) + 0x9c bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0xa41 bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes
Comments: Does not repro any more. I assume it might have been a setup issue. Closing for now, but I will reactivate if it happens again.
mscorlib.dll!System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(int errorCode) + 0x10 bytes
Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.NativeMethods.ThrowOnFailure(int hr, int[] expectedHRFailure) + 0x30 bytes
Microsoft.VisualStudio.Shell.11.0.dll!Microsoft.VisualStudio.Shell.OleMenuCommandService.ShowContextMenu(System.ComponentModel.Design.CommandID menuID, int x, int y) + 0xa6 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.ShowContextMenu(System.ComponentModel.Design.CommandID contextMenuId, System.Drawing.Point pt) + 0x47 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.OnContextMenuRequested(Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs mouseArgs) + 0x72 bytes
Microsoft.Data.Entity.Design.Package.dll!Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignDocView.OnContextMenuRequested(Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs mouseArgs) + 0x26 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.DesignerMouseUpEvent(object sender, Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs mouseArgs) + 0x44 bytes
Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll!Microsoft.VisualStudio.Modeling.Shell.VSDiagramView.OnContextMenuRequested(object sender, System.Windows.Forms.MouseEventArgs e) + 0x43 bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.OnContextMenuRequested(System.Windows.Forms.MouseEventArgs e) + 0x24 bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.OnWmContextMenu(ref System.Windows.Forms.Message message) + 0x52c bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.WndProc(ref System.Windows.Forms.Message m) + 0x6e bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Control.SendMessage(int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x21 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) + 0x9c bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0xa41 bytes
Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll!Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes
Comments: Does not repro any more. I assume it might have been a setup issue. Closing for now, but I will reactivate if it happens again.