Working with Setting config file VS 2010
Posted on 2011-09-04
I am a bit confuse on how to use Setting to store my constant value in config file.
In the setting there I can choose btw Application or User scope, also there is access modifer Internal/Public
my setting are Internal/Application
My goal is to allow my setting in VS2010 for easy programming such as
e.g. string x = settings.Default.myconfig
and also allow my user of dll to change the value in my.dll.config file.
However, so far when user modify config file value - dll do not response to new setting
How can i solve the problem? Also, if i change my setting from Application to User scope - I am getting compiler error - though i have not try to fix it yet as I not so sure about the scope setting.