Running FB 7.0.0.3135
I use a Build VS.Net Solution action to compile a C++ project with standard .rc files (Win32 Version information).
- Update version information in project .RC files is enabled
- Auto-increment is enabled
The first time I run this action, the .rc files are updated, on subsequent runs the build number (under module version number) is not incremented and stays the same.
It only works if I first reload the solution to get the updated build number back.
Am I doing something wrong or is this a bug?
Regards
Martin
Hi Martin
We would need to see your project file to figure out what is happening. There are so many moving parts when it comes to version info updating. One thing to note is that the version info updating does not support conditional defines, so if you have an rc file with version info defined in multiple places, it will only update the first one, but the one actually being used when the rc file is compiled might be the second one.
Another thing to note is that the autoincrement feature in FinalBuilder saves the current info in the project info file (projectname.fbinfo), if this file is not kept around (it commited to version control after a build) there is a potential that you are just resetting it each time.
Hi Vincent, rc files are updated correctly. The problem is, that FB does not keep/update the current info. It always stays on the same (old) value. Only if I reload the VS Solution file, the new values are visible. Project.fbpInf is kept but does not hold any version info (beside my own project variables). I will send the project file via email.