是否有一个工具可以让我做这样的事情:thetool.exe '1.0.0.1' mydll.dll myexe.exe
?
基本上我想自动化构建过程,然后让工具自动为我设置版本号。
最佳答案
您可以使用这个问题的答案:How do I set the version information for an existing .exe, .dll?
verpatch/va foodll.dll %VERSION% "%FILEDESCR%""%COMPINFO%""%PRODINFO%""%BUILDINFO%"
可在 http://www.codeproject.com/KB/install/VerPatch.aspx?msg=3207401 获得
有完整的资源...
关于windows - 批量设置 .exe 和 .dll 文件的版本号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4587841/