title: Incrementing Delphi XE project version number from command line
body: <p>I have a Delphi XE project and I'm trying to change the version number of the program before building it with MSBuild. Version number information is located in the DPROJ file but if I change these values the version number does not change. I think the reason for this is that when you change version number in the IDE, Delphi saves the changes to both DPROJ and RES files.</p>
  
  <p>Is there a way to compile the RES file from the command line with the changes in DPROJ file? I found this <a href="https://stackoverflow.com/questions/364019/how-to-include-subversion-revision-number-into-delphi-project">question</a> which suggested saving the version number in an INC file and including that to the project but this feels a bit more complex solution compared to just making changes in DPROJ.</p>