开发者

Is there any way to make C# application properties persist through recompiles?

开发者 https://www.devze.com 2023-03-30 11:22 出处:网络
T开发者_运维知识库he system for saving/reloading values is convenient but it has one annoying gotcha for a developer:The ID changes on every recompile and thus it\'s basically useless in development.A

T开发者_运维知识库he system for saving/reloading values is convenient but it has one annoying gotcha for a developer: The ID changes on every recompile and thus it's basically useless in development. Are there any easy fixes to this? Google only tells me others have the same annoyance so I doubt there's anything other than doing it myself.

Edit: David Yew is right about the file.


Have you set the version of your exe in the properties of the project? If you set this to something other than 0.0.0.0 I think it will maintain the settings for you.

0

精彩评论

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