Thursday, 15 September 2011

visual studio 2010 - C# custom control in debug and release configurations -



visual studio 2010 - C# custom control in debug and release configurations -

i started learning how create custom controls in c#, , wasn't able find explanation of how treat debug , release configurations.

simplified version of project looks this:

myproject |- customcontrol.cs |- form.cs

customcontrol.cs control, , form.cs form contains instance of customcontrol. added customcontrol form using design toolbox, , in order able had right click on it, select "choose items" , manually point assembly produced project : .../bin/debug/myproject.exe .

here question : if selected debug assembly, cause problems in release mode? checked compiles , works, mean vs smart plenty link release assembly, or still links debug assembly?

as per comment

components should appear in toolbox automatically. undo did toolbox add together custom command , have @ link: walkthrough: automatically populating toolbox custom components

please see op's comment here solution details regarding autotoolboxpopulate.

c# visual-studio-2010 linker custom-controls

No comments:

Post a Comment