Nathan Wild 3 Posted November 8, 2018 This is something I struggle with a lot and there has to be an easier way?! I have many projects that have both debug and release configs for win32 and/or win64 targets. Is there a simple way to have the version information THE SAME across all of these? There config options for all builds, all targets, and all configurations, but no matter what I do they all appear to be maintained separately?! All I want it to be able to set my version info in the Project | Options | Version Info | All Configurations section, and have it JUST WORK... 1 Share this post Link to post
Uwe Raabe 2064 Posted November 8, 2018 Project Magician has an option to strip all version info from child configurations. That way the values from the base (platform if you have non-Windows targets) configuration are effective. It doesn't hinder you to edit any child values, though - they just have no effect any more. https://www.uweraabe.de/Blog/2018/05/17/keep-your-project-files-clean-with-project-magician/ 2 Share this post Link to post
David Heffernan 2353 Posted November 8, 2018 The IDE's tools aren't well designed in my view. Don't set the version information that way, instead make it part of your automated build process. 1 Share this post Link to post
FredS 138 Posted November 8, 2018 13 hours ago, Nathan Wild said: All Configurations section, and have it JUST WORK... There is " Set Project Versioninfo " from DDevExtensions 2.84 Share this post Link to post
Lars Fosdal 1793 Posted November 8, 2018 Like @David Heffernan suggests, we override the version numbers from our Continua CI build server, using the same version/build number across all apps within the separate branches, and updating them through FinalBuilder parameters. Current versions: Devel is 2019.3.12.11451 and Pilot just went from 2018.11.6.5035 to Live 2018.11.6.36 As you can see, the version is y.m.d.BuildNo where the day is the planned release date. Devel build numbers start at y.m.d.10001 and are periodically reset. Pilots at y.m.d.5001 -> 5xxx Live at y.m.d.xxx + 1 We are trying to limit ourselves to three major releases per year, and avoid introducing breaking SQL Schema changes between the major releases. We still have too many hotfixes. The previous Live version had build number 353. Note that doesn't mean we had that many actual roll-outs, just that many commits 😛 1 Share this post Link to post
Rob Truby 4 Posted November 8, 2018 I had the same issue. I'm using DDevExtensions which adds a menu Item Project > Set version info...; it allows you to apply the same version information to all configurations. Share this post Link to post
dummzeuch 1517 Posted November 9, 2018 We generate a res file from an INI file which contains the version information and is maintained outside the IDE. I think I blogged about this a while ago. Share this post Link to post