如何将TeamCity的构建版本添加到非托管DLL和OCX控件中? [英] How to get TeamCity build version into unmanaged DLLs and OCX controls?
问题描述
我有一个TeamCity构建解决方案,其中包含托管(C#)和非托管(C ++)项目.是否存在类似于Assembly Info Patcher的TeamCity实用程序,该实用程序将更改非托管C ++ DLL和OCX项目的.rc文件中的版本号以匹配内部版本号?
I have a TeamCity build solution with managed (C#) and unmanaged (C++) projects. Is there a TeamCity utility out there similar to Assembly Info Patcher that will change the version numbers in the .rc files for unmanaged C++ DLL and OCX projects to match the build number?
推荐答案
否,teamcity没有更新C ++ dll版本的任何内容,但是您可以使用
No, teamcity doesn't have anything to update version of C++ dlls, you could however use StampVer.exe to update the version of C++ dlls. You'll need to download the exe and add a build to call the exe which will update the version of the C++ exe or dll.
这篇关于如何将TeamCity的构建版本添加到非托管DLL和OCX控件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!