I've been able to successfully launch 2 copies of devenv.exe and attach to one from the other to debug the design mode of a server control. Not sure what might be different about what you are doing. One thing I did do was have both the web project and the
web control library project in the same solution, and in the web control project, the reference to the web control library was a "project" reference.
I'm wondering how hard it would be to host the server control in design mode in a WinForm app (kind of like the ActiveX Control Test Container), seems like that would be a nice little tool to have around.
James Newton...
Member
197 Points
40 Posts
Debug at design-time (ASP.NET 2.0)
Jan 24, 2006 08:39 PM|LINK
I've tried attaching a debugger to devenv.exe but VS crashes almost right away.
billreiss
Member
320 Points
64 Posts
Re: Debug at design-time (ASP.NET 2.0)
Jan 31, 2006 12:43 PM|LINK
I've been able to successfully launch 2 copies of devenv.exe and attach to one from the other to debug the design mode of a server control. Not sure what might be different about what you are doing. One thing I did do was have both the web project and the web control library project in the same solution, and in the web control project, the reference to the web control library was a "project" reference.
I'm wondering how hard it would be to host the server control in design mode in a WinForm app (kind of like the ActiveX Control Test Container), seems like that would be a nice little tool to have around.
r2musings
Member
27 Points
8 Posts
Re: Debug at design-time (ASP.NET 2.0)
Jan 31, 2006 09:06 PM|LINK
To debug your control at design time, try this:
Works for me anyway. Let me know if that doesn't work.
Rik
(www.r2musings.com)
Senior Consultant - Wintellect
MCPD-EAD, MCTS-WPF
Blog: www.r2musings.com
Web: www.wintellect.com