I’d very much like to automate the increment of my build revision numbering. I would be happy with either automated revision increments whenever I check in my source code to the repository, or automatic increments when I build the application, but I can not figure out how to achieve this with Developer Studio 1.1.2.
I have been able to do this using make files on other build systems, but using the developer studio toolchains, I can’t. This leaves it up to me as a manual process to increment the build numbers, which is error prone and impossible to control when multiple developers are working the same source base.
Has anybody solved this issue? It seems common enough.
You should try right click on your source file, Properties > C/C++Build > Settings > Tool settings tab > Miscellaneous.
You can check here the “Always recompile” option.