versioninfo

VerQueryValue Fileversion doesn't match Windows Shell

I'm using the VerQueryValue to retrieve strings from a DLL's VersionInfo. All works fine, except that the FileVersion displayed by Explorer (right-click on file, Properties, Details, "File Version") doesn't match the string I get from the VerQueryValue. All my other calls to VerQueryValue are working fine, but FileVersion seems to retr...

Update version info with MSBuild (after binaries compilation)

I want to make a target in my MSBuild script that: Fetch SVN revision/datetime from sources folder ('svn info' command) Update VERSIONINFO resource from .EXEs and .DLLs generated by 'build' target There is something ready to accomplish this? I'm asking just before reinvent another wheel... I'm giving a look into http://msbuildexten...

Programmatically change the AssemblyVersion and AssemblyFileVersion attributes

During a setup creation process, I am planning to do the following (within a C# Script): Read the AssemblyVersion and AssemblyFileVersion attribute values of one DLL. Iterate all DLLs and executables in the project and apply those version to their AssemblyVersion and AssemblyFileVersion attribute values. Question now is: How to do st...

Do I need afxres.h, if I am not using MFC? How do I remove it from the .RC script?

I don't know RC scripts. I want to include Product version, File version, etc. metadata into a DLL I'm building. I'm using an .rc file to do that. The build is makefile driven. I'm following along with an example .rc scrpit I found. The template .rc file includes afxres.h , but I don't think I need that. But if I just remove it I ...

Libtool versioning of a library that depends on other libraries.

Hello, I have a framework that uses Boost and CgiCC in the core application and in its interface. How should I version the library binary interface (a.k.a. libtool -version-info)? I have no problems tracking the changes in library itself when I make various changes. As it is clear for me how should I version. But... Both Boost and C...