c# - WP8 Get current App Version -
i'm trying app current version value via code. on msdn shown use property id of class windows.applicationmodel.package:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.package.id.aspx
unfortunately seems property "id" not implemented in wp (it throws "not implemented exception")
is api supported on wp8 or maybe wp8.1? works "store apps" (released)? have used already?
i know can parse wmappmanifest.xml value, need accomplish external assembly (a custom .dll), not app assembly.
thanks f
you'll able version
this:
string version = xdocument.load("wmappmanifest.xml") .root.element("app").attribute("version").value;
a better reference this:
Comments
Post a Comment