Console app - version information not in build.

Console app - version information not in build.
Delphi XE6: if build a new console app from the template and set the "Take Version information to prjoect"  for the given target, then it works and the exe has all the fileversion informations. I have a console app written in Delphi XE4. I configured all options i think is needed for taking the Version-information to the project, but the exe has no version information after compiling with Delphi XE6. I cannot check if it would work in XE4 because i have no installation by the hand.

Comments

  1. Something I have done a lot is to enter the version info in f.x. Debug config, and when I build with release config, the info is of course gone.  Have you checked that?

    ReplyDelete
  2. Hello Lars,
    Yes, i did. I checked all the different config settings, for 32 bit and for 64 bit, for debug and for release. All sheems to have the right settings.

    ReplyDelete
  3. I've seem similar issues of various sorts with with upgrading code from XE to XE5.  One approach you can try is to delete the .dproj file and make XE6 reimport/recreate a .dproj from scratch by opening the .dpr.  Then set version information again in the IDE, making sure to ensure everything is mostly set at the base level and only specific settings are overridden when needed for Debug vs. Release config.  Doing this means your .dproj file should only contain stuff understood and intended by XE6 and will get rid of old cruft in the .dproj that might cause problems.

    ReplyDelete
  4. Jean-Marc Kiener Make sure that there is the {$R *.res} line in your DPR file.

    ReplyDelete
  5. Achim Kalwa
    Ouhh, that was it! Thanks! How could i not see that... :-(

    ReplyDelete

Post a Comment