You need to write code to implement this standard practice. The command line arguments will be passed to your main() in program.cs. You write code to check for the -v switch and display the version information rather than executing the standard code path. If you configure assembly info in your project you can use
To get the info to display.