Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-30-2024, 05:17 AM
mgampi mgampi is online now
Registered User
 
Join Date: 05-19-2011
Posts: 9
Make VS 2022 VERSIONINFO is not incremented

Hi;
I'm using one single "Make VS2022" step to rebuild a solution.
I have set "Increment the target version if...", but it's never incremented.
The .rc file of the included projects (in the solution) contain either only one VERSIONINFO or several ones for each language we support.
The .rc files are checked out from the repositories before the rebuild step starts.

Here is the content of one such .rc file:
Code:
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 2024,01,10,823
 PRODUCTVERSION 6,8,3,0
 FILEFLAGSMASK 0x1fL
#ifdef _DEBUG
 FILEFLAGS 0x9L
#else
 FILEFLAGS 0x8L
#endif
 FILEOS 0x4L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904e4"
        BEGIN
            VALUE "Comments", "....."
            VALUE "CompanyName", "....."
#ifdef XR_DBMS_ODBC
            VALUE "FileDescription", "....."
#else
				VALUE "FileDescription", "....."
#endif
            VALUE "FileVersion", "2024.01.10.823"
            VALUE "InternalName", "....."
            VALUE "LegalCopyright", "....."
            VALUE "LegalTrademarks", "....."
            VALUE "OriginalFilename", "....."
            VALUE "PrivateBuild", "4/30/2024"
            VALUE "ProductName", "....."
            VALUE "ProductVersion", "6.8.3"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1252
    END
END


LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
  FILEVERSION 2024,01,10,823
  PRODUCTVERSION 6,8,3,0
  FILEFLAGSMASK 0x1fL
#ifdef _DEBUG
  FILEFLAGS 0x9L
#else
  FILEFLAGS 0x8L
#endif
  FILEOS 0x4L
  FILETYPE 0x2L
  FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040704e4"
        BEGIN
            VALUE "Comments", "....."
            VALUE "CompanyName", "....."
#ifdef XR_DBMS_ODBC
            VALUE "FileDescription", "...."
#else
            VALUE "FileDescription", "....."
#endif
            VALUE "FileVersion", "2024.01.10.823"
            VALUE "InternalName", "....."
            VALUE "LegalCopyright", "....."
            VALUE "LegalTrademarks", "....."
            VALUE "OriginalFilename", "....."
            VALUE "PrivateBuild", "10.01.2024"
            VALUE "ProductName", " ....."
            VALUE "ProductVersion", "6.8.3"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x407, 1252
    END
END
What can be the reason for this error and how can I solve it?

Thanks in advance

Martin
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:30 PM.


Copyright © 1999-2023 Kinook Software, Inc.