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?
相关问题
- How to know full paths to DLL's from .csproj f
- Android version code for App updating
- Modelica libraries use different MSL version
- There was a mismatch between the processor archite
- Interface from a C DLL to .NET
相关文章
- vs2017wpf项目引用dll的路径不正确的问题
- Attribute filter syntax for code coverage in TeamC
- TeamCity Username / password
- Determine if an executable (or library) is 32 -or
- How do I make a TeamCity build appear in the TFS B
- Are resource files compiled as UNICODE or ANSI cod
- Assimp model loading library install/linking troub
- CreateProcess STATUS_DLL_NOT_FOUND - which dll?
Here's an alternative to StampVer that I ended up doing in PowerShell, which modifies the .rc files prior to the build. I wasn't comfortable with the StampVer constraints of pre-filling the version strings with sufficient space.
The configuration in TeamCity then looks like this:
Just give the script a list of .rc files you want to tweak. This step must be run prior to the main build steps.
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.