Project version settings keep reverting back

核能气质少年 提交于 2021-02-08 14:41:48

问题


I have a simple project in Delphi 10.1 Berlin. In the project settings, I have at one point checked on "Pre-Release".

Now I have two things that no matter how many times I change them, I come back and it's not saved. These are:

  • Pre-Release checkbox (gets re-checked again)
  • Module Version's Release number (changes from 0 to 1)

Note in the screenshot that the "File Version" down below shows the correct version number from when I saved it, 0.2.0. But above, the Release number has changed to 1.

In fact, I removed the option to include version settings in all other build configurations. It only exists under the Win32 - Release build.


EDIT

It appears actually nothing is being saved! For example, I changed the "Auto increment build" option, and that did not stay either. And my entries also get lost if I so much as navigate to a different build configuration, and switch back again. The only thing that it retains is the grid on the bottom.


EDIT

Some more strange behavior - if I set the Release to a larger number such as 2, it saves it. But if I set it to 0, it resets it back to 1. As if it doesn't want it to be 0 (although that's the default on a new project).


回答1:


I do not know how or why this happened, but I was able to resolve this by re-enabling the version information on the "All Configurations" level. Once I activated that, now it's remembering whatever I change in the "Release" level.



来源:https://stackoverflow.com/questions/57010876/project-version-settings-keep-reverting-back

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!