How Can I Display the Version Number of the Currently Running LightSwitch Application?

Useful for creating “About” screens for your LightSwitch apps.

var assem = new System.Reflection.AssemblyName(
  System.Reflection.Assembly.GetExecutingAssembly().FullName);
string versionNum = assem.Version.ToString();