Development Environment: Based onVs2008sp1And. NET Framework 3.5 SP1, UseC #3.0ProceedProgramDesign.
Appendix: How do I debug controls during development?
How can I debug self-developed controls (especially those during design )?
01, UseVisual Studio (Hereinafter referred toVS)Open the control project and go"Solution Resource Manager"Right-click the project in the view and select Properties.
02On the Application tab, confirm that the output type is"Class Library";
03On the debug tab, set "Start Operation" to start external programs, and enterVSPATH ().
04, Start debugging, open a newVSInstance.
05InIDECreate a newASP. NETApplication.
06Add a control project in the toolbox to generateAssembly.
07Drag the control just added to the Toolbox into the test project page to use and test the control.
08InVSSet a breakpoint inVSOpen the page containing controls to debug the design period function.CodeRun the test page to debug the runtime logic code.
The simplest thing is to put the project of the control and the project of the Test Control under the same solution, add reference to the control project in the Test Control Project.