I've managed to successfully implement this custom TabControl project . I'm Building this TabControl
project as a.dll file so I can drag it into my other project's toolbox and view the custom control in the designer but when I wanted to change something in the this custom TabControl
project, when I rebuild the.dll file and drag it in the toolbox again, it doesn't update the existing custom controls in the designer.
When I ctrl+m1 the variables in the custom control in use, it links to read-only metadata.
Do I need to remove all the custom controls first whenever I make a change or is there a way to "update" existing custom toolbox items that are already in the designer?
I tested this issue in vs2019 and vs2022, and it worked perfectly.
When the dll
is rebuilt, it does not need to be reloaded into the toolbox.
If the program page that depends on the dll
is not updated, just rebuild it.
My test environment is .Net Framework 4.8.
If you have any questions about this, please let me know and I will continue to follow up.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.