Lau
Newcomer
I have a usercontrol that refers to a app.config configuration setting in it's constructor.
When I try to drag the usercontrol onto a form, I get the error:
... The key '....' does not exist in the appSettings configuration section.
The key is specified in the app.config file, and the code will run properly if I 'inline' the usercontrol on a form, it's just this design time error that prevents me from making use of configurable user controls.
Has anyone managed to get a usercontrol to read settings from app.config in such a way?
When I try to drag the usercontrol onto a form, I get the error:
... The key '....' does not exist in the appSettings configuration section.
The key is specified in the app.config file, and the code will run properly if I 'inline' the usercontrol on a form, it's just this design time error that prevents me from making use of configurable user controls.
Has anyone managed to get a usercontrol to read settings from app.config in such a way?