C
Christian
I have a really frustrating problem, and some googling has revealed that I'm
not the only one. Its quite easy to reproduce:
1. Create a .Net C# project with a usercontrol and a forms application
2. Build the solution (debug) and add the usercontrol to the form's toolbox
3. Drag a usercontrol from the toolbox into the form
4. Close the form
5. Select the "Release" configuration
6. Open the form
Now the user control is gone with all its related code!
I know this is happening because the usercontrol .dll does not exist in the
release configuration, but is deleting sourcecode really expected behaviour?
Am I doing something wrong?
Regards,
Christian
not the only one. Its quite easy to reproduce:
1. Create a .Net C# project with a usercontrol and a forms application
2. Build the solution (debug) and add the usercontrol to the form's toolbox
3. Drag a usercontrol from the toolbox into the form
4. Close the form
5. Select the "Release" configuration
6. Open the form
Now the user control is gone with all its related code!
I know this is happening because the usercontrol .dll does not exist in the
release configuration, but is deleting sourcecode really expected behaviour?
Am I doing something wrong?
Regards,
Christian