Use this helper method to get the version as a full string :
function getAppVersion() { var p = Windows.ApplicationModel.Package.current.id.version; return p.major + "." + p.minor + "." + p.build + "." + p.revision; }
To display it to the user:
document.getElementById("version").innerHTML = "version " + getAppVersion();
It is assumed that you add this tag:
<span id="version"></span>
Lee
source share