开发者

Click-Once Deployment Overwriting User Settings

Click-once deployments are suppose to maintain user settings, but on this one application we have the user settings are 开发者_Python百科overwritten to the Visual Studio default every time we publish an update. Any ideas of what might be happening?


I have seen this happen when you make a change to the structure of the settings/config file.

If you publish an update w/out changing the structure of the file the settings on end user's machines should be preserved.


Regarding ClickOnce and ApplicationSettings. I guess you are in the case:

Setting's default changed; local setting still set to original default in user.config -> The setting is merged into the current version's user.config with the new default as the value

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜