Hello,
Basically, the question is how to increment project build number (VC7).
I’d like to load a Win32 version PropertySet from existing project RC file, to increment build, then to use the PropertySet during compilation.
However, I can’t find out how to load PropertySet from rc.
Any help will be appreciated!
Thanks.
Hi Igor,
You can use the “Win32 Version Info Updater” action to write the version information to the .rc file, but as yet we don’t have an action to read the version info from an rc file.
I’ll put this on the enhancements list.
cheers,
.t8
Hi Tate,
Ok, thank you!
Anyway - currently, how am I supposed to perform this task (version increment)? Is there any way to read the version from a project?
Thanks.
Igor,
What we recommend is that you let FinalBuilder manage your version numbers. And the best way to do it is by using a PropertySet. A PropertySet is basically a bunch of values, and you can operate on a single one of them, or apply the PropertySet as a whole.
So, first you need to use the PropertySet define action, and then you would generally load the values in the PropertySet from somewhere, maybe an INI file. Then you can increment a value in the PropertySet if you need to, and apply the PropertySet to various actions in your build process (like the Compilers, or generate a string based on the values of the PropertySet).
Then after doing your build, you would need to persist the PropertySet.
hth.
.t8