Question Details

No question body available.

Tags

visual-c++ versioning

Answers (1)

Accepted Answer Available
Accepted Answer
October 5, 2025 Score: 3 Rep: 2,674 Quality: High Completeness: 70%

This is because the Windows PE (Portable Executable) file format only has two numbers (MajorImageVersion and MinorImageVersion) in its header, and that's what the /VERSION linker option controls (via that "Configuration Properties > Linker > General > Version" setting). But that version is not what is displayed on the file Properties page of the resulting executable anyway. Use a VERSIONINFO resource instead (which utilizes four-part version numbers).