C# Changing value in dll.config isnt changing at runtime -


i have configured boolean variable in project's settings file when compile, in output folder see variable in .dll.config, follows:

      <setting name="showstats" serializeas="string">             <value>true</value>       </setting> 

in code refer properties.settings.default.showstats want able change .config file , write there false or true, , have value reflected in runtime. seems changing settings window in visual studio work in runtime. changing notepad isnt working. last value set in vs settings window.

what doing wrong here?

dlls don't have config files. entry process has config file. basically: entries need copied dll-named config file app.config, or exe-named config file.

further: these values read @ startup; if changing while running, won't (unless process chooses restart monitoring configuration - asp.net this).


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -