Question User Control Not Updating

Doug

Active member
Joined
Oct 5, 2011
Messages
44
Programming Experience
Beginner
I have created a user control and added it to my toolbar. I placed it in my project and found that I needed to modify it. So I made the changes then tried to reload it back into my project. But the problem is that it keeps loading the first version of my user control, not my new one.

This is what I have done to put the new user control in my project:

1. Reset the toolbar
2. Deleted the original DLL in its project folder
3. Recompiled the user control
4. Deleted the user control from the form
5. Deleted the user control reference in the project references
6. Added the user control back to the toolbar by browsing to its new DLL
7. Placed it back on my form.

After doing all of that, the old original control comes back instead of my new updated control. Is it hiding somewhere? How do I kill this zombie control for good?
 
NM. I found the problem. Even after removing the reference in the form project, the DLL was still in the bin/debug folder. Once I removed that I was able to load the new object.
 
Back
Top