Add a post-build command to
edit the version
Add "EditVersion
"$(TargetPath)" 4.0" as a post-build command (project Property Pages
dialog - Builds Events > Post-Build Events section). If the
executable is signed (Authenticode), the EditVersion command must be
placed before the SignTool command.