Automatically increment the version number in a project's .rc file

拟墨画扇 提交于 2019-12-22 00:02:14

问题


How I can automatically increment the file version in my C/C++ project when I build it? Currently I have to modify the resources manually before I do the build. Is there any script or utility to automate this?


回答1:


There is a discussion on the MSDN Website of different approaches to the problem.

Microsoft have also provided KB237870 that explains a (fairly convoluted) method to automate this.




回答2:


Can I automatically increment the file build version when using Visual Studio?

Is that what you're looking for?



来源:https://stackoverflow.com/questions/990308/automatically-increment-the-version-number-in-a-projects-rc-file

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