PDA

View Full Version : Some Version Information fields in Delphi projects are missing


maks
04-07-2005, 09:09 AM
I have a problem building Delphi projects. If I select to update anything on Versions or Properties tab of Make Delphi step then Visual Build (as described in the help) creates .VRC resource file, compiles it into .VRES file and includes in the Delphi project. Visual Build uses .DOF file to get the values of all the properties that are not being updated by VBP.
First, I prefer not to checkin .DOF files because this file contains developer machine specific information. Second, even if I checkin .DOF file then some properties still remain blank. For example after I build a project using VBP, version information of the EXE file has Internal Name, Original File Name fields blank.
Is there a way to keep the version information for the project without using DOF file (all the information is in RES file)? If no then how to make VBP not to blank Internal Name and Original File Name fields?
Does anybody else have the same problem?

kinook
04-07-2005, 02:04 PM
Just keep the .VRC file under source control along with the project, manually add the missing field values first. The Make Delphi action will not replace the .VRC file if it exists; it will just update the properties/versions set within the Make Delphi action. You also don't need to store the DOF file in source control if you do this.

And we'll add a feature request to our list to support setting of those two fields directly from the Make Delphi action.