Properties.Settings.Default.Reload don't work

  • Thread starter Thread starter Anti Pattern Free
  • Start date Start date
A

Anti Pattern Free

Hello Guys,
i have a strange behavior on app.setting...

I have defined the my settings (Application scope) in Setting panel on
project properties (my application is a class library)

now if i change manually (with notepad) the value in mydll.dll.config
start the application can use this dll and the value isnt changed at
runtime :(


have any idea about this behavior ?!!
 
Hello Guys,
i have a strange behavior on app.setting...

I have defined the my settings (Application scope) in Setting panel on
project properties (my application is a class library)

now if i change manually (with notepad) the value in mydll.dll.config
start the application can use this dll and the value isnt changed at
runtime :(


have any idea about this behavior ?!!

Hi,

Any idea why you would want your library to have a config file?
One of the purpose of the library is to be shared/reuse by multiple
applications. If you allow your library to be configured through a
config file, changes in config file will certainly break the other
applications.

Regards.
 
in data 03/02/2010 09:13
kndg ha detto:
Hi,

Any idea why you would want your library to have a config file?
One of the purpose of the library is to be shared/reuse by multiple
applications. If you allow your library to be configured through a
config file, changes in config file will certainly break the other
applications.

Regards.


Many is the cases because i need a config file, but the problem isnt
because i want a config file, but because the library not reload or set
the value from file...

i have see onother stange behavior if set "false" the
"GenerateDefaultValueInCode" property on my settings is ever null :(

Regards
 
Back
Top