开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜