开发者

My Configuration file is not updated

Im using Properties.Setting file to save some data. And using my program im going to update it as follows. Settings.Default.tes开发者_JS百科t = "new Value"; Settings.Default.Save(); But its not updated in my app.config file.

Im using VS 2008.


Have you set one or more of the settings to be User settings? If so, they should be updated when you save, but remember that they won't be written into the app.config file, rather, they'll be written to the user.config file instead (since the app.config file is likely to be located in a directory to which you won't have write permissions).

This question discusses where the user.config file will be stored.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜