【问题标题】:Does replacing a library (dll) file with a new version change Properties Settings?用新版本替换库 (dll) 文件是否会更改属性设置?
【发布时间】:2014-10-01 20:43:19
【问题描述】:

我正在开发一个 Windows 窗体应用程序。

我应该向用户上传新版本的 dll。如果我这样做,它会将 Properties.Settings 重置为默认值还是会保持保存(在用户的计算机上)?

【问题讨论】:

  • 哪个“属性设置”? (此外,唯一可以产生影响的方法是设置是否与 DLL 关联或存储在 DLL 中。)
  • @user2864740 库的属性。包含资源和设置的那个

标签: c# dll properties settings


【解决方案1】:

通过上传 DLL,您不会重置设置 在这里你可以得到答案——

Properties.Settings.Default.Save(); -> Where is that file

Where are the Properties.Settings.Default stored?

【讨论】:

  • 很好,还没找到。因此这些设置保存在 Windows 的 AppData 文件夹中,除非删除,否则它们不会丢失。谢谢拉比!
猜你喜欢
  • 2011-11-25
  • 1970-01-01
  • 1970-01-01
  • 2023-03-26
  • 1970-01-01
  • 1970-01-01
  • 2011-03-22
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多