-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
The version information in the resource file is hardcoded and appears to be outdated.
Both FILEVERSION and PRODUCTVERSION are fixed to 2.6.0.2502, which makes maintenance difficult and error-prone when updating the DLL.
Code concerned
FILEVERSION 2,6,0,2502
PRODUCTVERSION 2,6,0,2502
Problems
Version numbers must be manually updated in multiple places
Risk of mismatch between binary version and resource version
No automation or central version management
Copyright years stop at 2015, which may be outdated
Expected Behavior
Version information should be easy to update and consistent
Copyright information should reflect current maintenance
Suggested Fix
Define version numbers using macros:
#define VER_FILEVERSION 2,6,0,2502
#define VER_FILEVERSION_STR "2.6.0.2502"
Reuse them throughout the resource file
Update copyright year if the project is still maintained
Impact
Easier maintenance and fewer release mistakes
Better consistency across builds
Clearer and more professional version metadata