I have recently added the file version info to a vs.net build action.
This results in the line AssemblyFileVersion property being added to the project's AssemblyInfo.pas, but after the final "end." in the file.
E.g.:
//lots of text removed so only the bottom of the file is shownimplementationend.[assembly: AssemblyFileVersion('1.0.0.16')]
If I have previously added the AssemblyFileVersion line to the source file, it is updated correctly.