Hello,
I have my own editor which uses the .net form designer. After VS sits idle for a while, I sometimes get this error message:
Cannot access a disposed object
Object name: 'DesignerFrame'.
I saw another user had a similar problem at one point and a call stack was requested. When I attach to the process, I get this call stack:
> System.Windows.Forms.dll!System.Windows.Forms.Control.CreateHandle() + 0x1ff bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.Handle.get() + 0x77 bytes
System.Design.dll!System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.MouseHook.ProcessMouseMessage(System.IntPtr hWnd = 199752, int msg = 512, int x = 690, int y = 735) + 0x6b bytes
System.Design.dll!System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.MouseHook.MouseHookProc(int nCode = 0, System.IntPtr wparam = 512, System.IntPtr lparam = 1243728) + 0x5f bytes
Any suggestion as to what may be causing the problem and how I can troubleshoot it further?
Thanks,
Notre