How to save app.config between ClickOnce app updates?

My ClickOnce application has a file app.configthat the application modifies according to user preferences. It seems that every time my clients receive a new version of the application, the file app.configgets reset to its original state.

Is there a way to save a file app.configbetween ClickOnce updates?

+5
source share
2 answers

The app.config application is used to store application configurations. For custom configurations you should use the .settings file.

- ,

publish_dir/version_dir/app.config.deploy

.

+3

All Articles