Monday, March 4, 2013

The AssemblyVersion parameter in AssemblyInfo.cs in the Properties folder is where one may manually increment the version number for a WinForms app.

http://stackoverflow.com/questions/7178725/version-number-in-winform-form-text has some how-to for fishing this value back out again via C#. It looks like one could get it like so:

String strVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();

No comments:

Post a Comment