How would I set and retrieve the version number of my app? Thanks.
Printable View
How would I set and retrieve the version number of my app? Thanks.
The following lines are how i get them from my app.
Code:System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major;
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor;
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Revision;
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Build;
Thanks!!! :wave: